#1F420E#1F420E
#1F420E is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.0% C 0.089 H 137.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F420E |
|---|---|
| RGB | rgb(31, 66, 14) |
| HSL | hsl(100, 65%, 16%) |
| HSV | hsv(100, 79%, 26%) |
| CMYK | cmyk(53%, 0%, 78.8%, 74.1%) |
| CIE-LAB | lab(24.38, -23.56, 26.48) |
| CIE-LCH | lch(24.38, 35.44, 131.66°) |
| OKLab | oklab(34.03% -0.0652 0.0602) |
| OKLCH | oklch(34.03% 0.089 137.3) |
| XYZ | xyz(2.5925, 4.2193, 1.0932) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 2.27
Hunter Green (survey)
#0B4008
ΔE00 2.78
Forest Green (survey)
#06470C
ΔE00 3.91
British Racing Green
#05480D
ΔE00 4.15
Racing Green
#014600
ΔE00 4.40
Darkgreen (survey)
#054907
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F420E #310E42
analogous
#39420E #1F420E #0E4217
triadic
#1F420E #0E1F42 #420E1F
tetradic
#1F420E #0E3942 #310E42 #42170E
square
#1F420E #0E3942 #310E42 #42170E
split-complementary
#1F420E #170E42 #420E39
monochromatic
#0C1905 #0C1905 #1F420E #377419 #4EA723
Accessibility & contrast
On white
11.39
#1F420E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F420E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F420E
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F420E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F420E | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C06
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#1D3F38
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f420e; /* rgb */ color: rgb(31, 66, 14); /* oklch */ color: oklch(34.0% 0.089 137.3);
Tailwind
colors: {
custom: {
50: '#5f7750',
500: '#1f420e',
950: '#000000',
},
}SCSS
$custom: #1f420e; $custom-light: #5f7750; $custom-dark: #000000;
JSON
{
"hex": "#1f420e",
"rgb": {
"r": 31,
"g": 66,
"b": 14
},
"hsl": {
"h": 100.385,
"s": 65,
"l": 15.686
},
"oklch": {
"l": 0.34026,
"c": 0.08876,
"h": 137.3
},
"luminance": 0.04219
}Semantic roles & 50–950 ramp
primary
#1F420E
secondary
#632F7D
accent
#40E8B1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78