#042C0A#042C0A
#042C0A is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.073 H 145.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).
Color values
| HEX | #042C0A |
|---|---|
| RGB | rgb(4, 44, 10) |
| HSL | hsl(129, 83%, 9%) |
| HSV | hsv(129, 91%, 17%) |
| CMYK | cmyk(90.9%, 0%, 77.3%, 82.7%) |
| CIE-LAB | lab(14.67, -22.45, 16.85) |
| CIE-LCH | lch(14.67, 28.07, 143.12°) |
| OKLab | oklab(25.7% -0.0605 0.0415) |
| OKLCH | oklch(25.7% 0.073 145.6) |
| XYZ | xyz(1.0055, 1.8490, 0.5910) |
| Luminance | 0.0185 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 1.61
Very Dark Green
#062E03
ΔE00 2.07
Dark Green
#033500
ΔE00 4.84
Hunter Green (survey)
#0B4008
ΔE00 7.58
Pine Green
#0A481E
ΔE00 8.61
Evergreen
#05472A
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042C0A #2C0426
analogous
#122C04 #042C0A #042C1E
triadic
#042C0A #0A042C #2C0A04
tetradic
#042C0A #04122C #2C0426 #2C1E04
square
#042C0A #04122C #2C0426 #2C1E04
split-complementary
#042C0A #1E042C #2C0412
monochromatic
#031C06 #031C06 #042C0A #096417 #0E9C24
Accessibility & contrast
On white
15.33
#042C0A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#042C0A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042C0A
15.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042C0A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042C0A | 1.00 | 15.33 | 1.37 | 15.33 |
| #FFFFFF | 15.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#28240D
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #042c0a; /* rgb */ color: rgb(4, 44, 10); /* oklch */ color: oklch(25.7% 0.073 145.6);
Tailwind
colors: {
custom: {
50: '#4b664b',
500: '#042c0a',
950: '#000000',
},
}SCSS
$custom: #042c0a; $custom-light: #4b664b; $custom-dark: #000000;
JSON
{
"hex": "#042c0a",
"rgb": {
"r": 4,
"g": 44,
"b": 10
},
"hsl": {
"h": 129,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.257,
"c": 0.07336,
"h": 145.6
},
"luminance": 0.01849
}Semantic roles & 50–950 ramp
primary
#042C0A
secondary
#6F1D62
accent
#2EDBFA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77