#042C09#042C09
#042C09 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.074 H 145.1°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).
Color values
| HEX | #042C09 |
|---|---|
| RGB | rgb(4, 44, 9) |
| HSL | hsl(128, 83%, 9%) |
| HSV | hsv(128, 91%, 17%) |
| CMYK | cmyk(90.9%, 0%, 79.5%, 82.7%) |
| CIE-LAB | lab(14.66, -22.60, 17.24) |
| CIE-LCH | lch(14.66, 28.42, 142.67°) |
| OKLab | oklab(25.69% -0.061 0.0425) |
| OKLCH | oklch(25.69% 0.074 145.1) |
| XYZ | xyz(1.0000, 1.8468, 0.5622) |
| Luminance | 0.0185 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 1.43
Very Dark Green
#062E03
ΔE00 1.87
Dark Green
#033500
ΔE00 4.67
Hunter Green (survey)
#0B4008
ΔE00 7.45
Pine Green
#0A481E
ΔE00 8.59
Evergreen
#05472A
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042C09 #2C0427
analogous
#132C04 #042C09 #042C1D
triadic
#042C09 #09042C #2C0904
tetradic
#042C09 #04132C #2C0427 #2C1D04
square
#042C09 #04132C #2C0427 #2C1D04
split-complementary
#042C09 #1D042C #2C0413
monochromatic
#031C06 #031C06 #042C09 #096414 #0E9C20
Accessibility & contrast
On white
15.34
#042C09 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#042C09 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042C09
15.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042C09 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042C09 | 1.00 | 15.34 | 1.37 | 15.34 |
| #FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2705
Deuteranopia (green-blind)
#28240C
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #042c09; /* rgb */ color: rgb(4, 44, 9); /* oklch */ color: oklch(25.7% 0.074 145.1);
Tailwind
colors: {
custom: {
50: '#4b664b',
500: '#042c09',
950: '#000000',
},
}SCSS
$custom: #042c09; $custom-light: #4b664b; $custom-dark: #000000;
JSON
{
"hex": "#042c09",
"rgb": {
"r": 4,
"g": 44,
"b": 9
},
"hsl": {
"h": 127.5,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.25686,
"c": 0.07433,
"h": 145.1
},
"luminance": 0.01847
}Semantic roles & 50–950 ramp
primary
#042C09
secondary
#6F1D64
accent
#2EE0FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77