#042C17#042C17
#042C17 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.0% C 0.059 H 155.4°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).
Color values
| HEX | #042C17 |
|---|---|
| RGB | rgb(4, 44, 23) |
| HSL | hsl(149, 83%, 9%) |
| HSV | hsv(149, 91%, 17%) |
| CMYK | cmyk(90.9%, 0%, 47.7%, 82.7%) |
| CIE-LAB | lab(14.89, -19.88, 9.81) |
| CIE-LCH | lch(14.89, 22.17, 153.74°) |
| OKLab | oklab(25.95% -0.0536 0.0245) |
| OKLCH | oklch(25.95% 0.059 155.4) |
| XYZ | xyz(1.1053, 1.8889, 1.1168) |
| Luminance | 0.0189 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 5.49
Very Dark Green
#062E03
ΔE00 6.04
Dark Green
#033500
ΔE00 8.48
Evergreen
#05472A
ΔE00 8.53
Pine Green
#0A481E
ΔE00 10.04
Hunter Green (survey)
#0B4008
ΔE00 10.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042C17 #2C0419
analogous
#052C04 #042C17 #042C2B
triadic
#042C17 #17042C #2C1704
tetradic
#042C17 #04052C #2C0419 #2C2B04
square
#042C17 #04052C #2C0419 #2C2B04
split-complementary
#042C17 #2B042C #2C0405
monochromatic
#031C0F #031C0F #042C17 #096434 #0E9C52
Accessibility & contrast
On white
15.24
#042C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#042C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042C17
15.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042C17 | 1.00 | 15.24 | 1.38 | 15.24 |
| #FFFFFF | 15.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2816
Deuteranopia (green-blind)
#272418
Tritanopia (blue-blind)
#002B27
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #042c17; /* rgb */ color: rgb(4, 44, 23); /* oklch */ color: oklch(26.0% 0.059 155.4);
Tailwind
colors: {
custom: {
50: '#4b6554',
500: '#042c17',
950: '#000000',
},
}SCSS
$custom: #042c17; $custom-light: #4b6554; $custom-dark: #000000;
JSON
{
"hex": "#042c17",
"rgb": {
"r": 4,
"g": 44,
"b": 23
},
"hsl": {
"h": 148.5,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.25953,
"c": 0.05894,
"h": 155.4
},
"luminance": 0.01889
}Semantic roles & 50–950 ramp
primary
#042C17
secondary
#6F1D48
accent
#2E99FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78