Hex Color #012402 - Custom Color
Color Codes
HEX
#012402
RGB
rgb(1, 36, 2)
HSL
hsl(122, 95%, 7%)
CMYK
cmyk(97%, 0%, 94%, 86%)
HSV
hsv(122, 97%, 14%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.74:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #012402;
color: #012402;
border-color: #012402;
}
Tailwind CSS (with arbitrary values)
bg-[#012402]
text-[#012402]
border-[#012402]
// Example usage:
<div className="bg-[#012402]">