#042E02#042E02
#042E02 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.084 H 142.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #042E02 |
|---|---|
| RGB | rgb(4, 46, 2) |
| HSL | hsl(117, 92%, 9%) |
| HSV | hsv(117, 96%, 18%) |
| CMYK | cmyk(91.3%, 0%, 95.7%, 82%) |
| CIE-LAB | lab(15.40, -24.43, 21.04) |
| CIE-LCH | lch(15.40, 32.24, 139.26°) |
| OKLab | oklab(26.28% -0.0665 0.052) |
| OKLCH | oklch(26.28% 0.084 142) |
| XYZ | xyz(1.0380, 1.9841, 0.3857) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Very Dark Green
#062E03
ΔE00 0.35
Dark Forest Green
#002D04
ΔE00 1.01
Dark Green
#033500
ΔE00 2.83
Hunter Green (survey)
#0B4008
ΔE00 5.93
Forrest Green
#154406
ΔE00 7.56
Pine Green
#0A481E
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042E02 #2C022E
analogous
#1A2E02 #042E02 #022E16
triadic
#042E02 #02042E #2E0204
tetradic
#042E02 #021A2E #2C022E #2E1602
square
#042E02 #021A2E #2C022E #2E1602
split-complementary
#042E02 #16022E #2E021A
monochromatic
#031D01 #031D01 #042E02 #096905 #0EA307
Accessibility & contrast
On white
15.03
#042E02 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#042E02 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042E02
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042E02 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042E02 | 1.00 | 15.03 | 1.40 | 15.03 |
| #FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2506
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #042e02; /* rgb */ color: rgb(4, 46, 2); /* oklch */ color: oklch(26.3% 0.084 142.0);
Tailwind
colors: {
custom: {
50: '#4c6747',
500: '#042e02',
950: '#000000',
},
}SCSS
$custom: #042e02; $custom-light: #4c6747; $custom-dark: #000000;
JSON
{
"hex": "#042e02",
"rgb": {
"r": 4,
"g": 46,
"b": 2
},
"hsl": {
"h": 117.273,
"s": 91.667,
"l": 9.412
},
"oklch": {
"l": 0.26276,
"c": 0.08443,
"h": 142
},
"luminance": 0.01984
}Semantic roles & 50–950 ramp
primary
#042E02
secondary
#6F1973
accent
#29FFF5
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77