#042F0F#042F0F
#042F0F is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.073 H 147.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #042F0F |
|---|---|
| RGB | rgb(4, 47, 15) |
| HSL | hsl(135, 84%, 10%) |
| HSV | hsv(135, 91%, 18%) |
| CMYK | cmyk(91.5%, 0%, 68.1%, 81.6%) |
| CIE-LAB | lab(15.97, -22.92, 16.16) |
| CIE-LCH | lch(15.97, 28.05, 144.82°) |
| OKLab | oklab(26.8% -0.0616 0.0389) |
| OKLCH | oklch(26.8% 0.073 147.7) |
| XYZ | xyz(1.1527, 2.0932, 0.7951) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Forest Green
#002D04
ΔE00 1.94
Very Dark Green
#062E03
ΔE00 2.43
Dark Green
#033500
ΔE00 4.76
Hunter Green (survey)
#0B4008
ΔE00 7.17
Pine Green
#0A481E
ΔE00 7.78
Evergreen
#05472A
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#042F0F #2F0424
analogous
#0E2F04 #042F0F #042F25
triadic
#042F0F #0F042F #2F0F04
tetradic
#042F0F #040E2F #2F0424 #2F2504
square
#042F0F #040E2F #2F0424 #2F2504
split-complementary
#042F0F #25042F #2F040E
monochromatic
#021C09 #021C09 #042F0F #096721 #0EA033
Accessibility & contrast
On white
14.80
#042F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#042F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #042F0F
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##042F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##042F0F | 1.00 | 14.80 | 1.42 | 14.80 |
| #FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#2B2612
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #042f0f; /* rgb */ color: rgb(4, 47, 15); /* oklch */ color: oklch(26.8% 0.073 147.7);
Tailwind
colors: {
custom: {
50: '#4c684e',
500: '#042f0f',
950: '#000000',
},
}SCSS
$custom: #042f0f; $custom-light: #4c684e; $custom-dark: #000000;
JSON
{
"hex": "#042f0f",
"rgb": {
"r": 4,
"g": 47,
"b": 15
},
"hsl": {
"h": 135.349,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.26796,
"c": 0.07286,
"h": 147.7
},
"luminance": 0.02093
}Semantic roles & 50–950 ramp
primary
#042F0F
secondary
#721D5C
accent
#2DC6FB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77