#042E06#042E06
#042E06 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.080 H 143.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #042E06 |
|---|---|
| RGB | rgb(4, 46, 6) |
| HSL | hsl(123, 84%, 10%) |
| HSV | hsv(123, 91%, 18%) |
| CMYK | cmyk(91.3%, 0%, 87%, 82%) |
| CIE-LAB | lab(15.45, -23.85, 19.47) |
| CIE-LCH | lch(15.45, 30.79, 140.78°) |
| OKLab | oklab(26.33% -0.0646 0.0476) |
| OKLCH | oklch(26.33% 0.08 143.6) |
| XYZ | xyz(1.0599, 1.9928, 0.5011) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 0.69
Very Dark Green
#062E03
ΔE00 0.72
Dark Green
#033500
ΔE00 3.40
Hunter Green (survey)
#0B4008
ΔE00 6.32
Pine Green
#0A481E
ΔE00 7.92
Forrest Green
#154406
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042E06 #2E042C
analogous
#172E04 #042E06 #042E1B
triadic
#042E06 #06042E #2E0604
tetradic
#042E06 #04172E #2E042C #2E1B04
square
#042E06 #04172E #2E042C #2E1B04
split-complementary
#042E06 #1B042E #2E0417
monochromatic
#021C04 #021C04 #042E06 #09660D #0E9F15
Accessibility & contrast
On white
15.02
#042E06 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#042E06 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042E06
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042E06 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042E06 | 1.00 | 15.02 | 1.40 | 15.02 |
| #FFFFFF | 15.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2902
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #042e06; /* rgb */ color: rgb(4, 46, 6); /* oklch */ color: oklch(26.3% 0.080 143.6);
Tailwind
colors: {
custom: {
50: '#4c6749',
500: '#042e06',
950: '#000000',
},
}SCSS
$custom: #042e06; $custom-light: #4c6749; $custom-dark: #000000;
JSON
{
"hex": "#042e06",
"rgb": {
"r": 4,
"g": 46,
"b": 6
},
"hsl": {
"h": 122.857,
"s": 84,
"l": 9.804
},
"oklch": {
"l": 0.2633,
"c": 0.08021,
"h": 143.6
},
"luminance": 0.01993
}Semantic roles & 50–950 ramp
primary
#042E06
secondary
#711D6D
accent
#2EF1FA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77