#042F15#042F15
#042F15 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.066 H 152.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #042F15 |
|---|---|
| RGB | rgb(4, 47, 21) |
| HSL | hsl(144, 84%, 10%) |
| HSV | hsv(144, 91%, 18%) |
| CMYK | cmyk(91.5%, 0%, 55.3%, 81.6%) |
| CIE-LAB | lab(16.07, -21.74, 12.67) |
| CIE-LCH | lch(16.07, 25.16, 149.77°) |
| OKLab | oklab(26.91% -0.0584 0.0311) |
| OKLCH | oklch(26.91% 0.066 152) |
| XYZ | xyz(1.2018, 2.1128, 1.0538) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 3.80
Very Dark Green
#062E03
ΔE00 4.35
Dark Green
#033500
ΔE00 6.59
Evergreen
#05472A
ΔE00 7.48
Pine Green
#0A481E
ΔE00 8.39
Hunter Green (survey)
#0B4008
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042F15 #2F041E
analogous
#082F04 #042F15 #042F2B
triadic
#042F15 #15042F #2F1504
tetradic
#042F15 #04082F #2F041E #2F2B04
square
#042F15 #04082F #2F041E #2F2B04
split-complementary
#042F15 #2B042F #2F0408
monochromatic
#021C0D #021C0D #042F15 #09672E #0EA047
Accessibility & contrast
On white
14.76
#042F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#042F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042F15
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042F15 | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2A13
Deuteranopia (green-blind)
#2A2617
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #042f15; /* rgb */ color: rgb(4, 47, 21); /* oklch */ color: oklch(26.9% 0.066 152.0);
Tailwind
colors: {
custom: {
50: '#4c6852',
500: '#042f15',
950: '#000000',
},
}SCSS
$custom: #042f15; $custom-light: #4c6852; $custom-dark: #000000;
JSON
{
"hex": "#042f15",
"rgb": {
"r": 4,
"g": 47,
"b": 21
},
"hsl": {
"h": 143.721,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.26911,
"c": 0.06619,
"h": 152
},
"luminance": 0.02113
}Semantic roles & 50–950 ramp
primary
#042F15
secondary
#721D50
accent
#2DA9FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78