#1F4F2E#1F4F2E
#1F4F2E is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.077 H 151.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F2E |
|---|---|
| RGB | rgb(31, 79, 46) |
| HSL | hsl(139, 44%, 22%) |
| HSV | hsv(139, 61%, 31%) |
| CMYK | cmyk(60.8%, 0%, 41.8%, 69%) |
| CIE-LAB | lab(29.61, -24.84, 14.72) |
| CIE-LCH | lch(29.61, 28.87, 149.34°) |
| OKLab | oklab(38.47% -0.0673 0.0367) |
| OKLCH | oklch(38.47% 0.077 151.4) |
| XYZ | xyz(3.8539, 6.0802, 3.5547) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.59
Pine Green
#0A481E
ΔE00 3.92
Pine
#2B5D34
ΔE00 4.87
Hunter Green
#355E3B
ΔE00 5.39
Spruce
#0A5F38
ΔE00 5.83
Forest Green
#2D5A27
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F2E #4F1F40
analogous
#284F1F #1F4F2E #1F4F46
triadic
#1F4F2E #2E1F4F #4F2E1F
tetradic
#1F4F2E #1F284F #4F1F40 #4F461F
square
#1F4F2E #1F284F #4F1F40 #4F461F
split-complementary
#1F4F2E #461F4F #4F1F28
monochromatic
#09160D #0E2314 #1F4F2E #307B48 #41A761
Accessibility & contrast
On white
9.48
#1F4F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1F4F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F2E
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F2E | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492C
Deuteranopia (green-blind)
#494430
Tritanopia (blue-blind)
#134E47
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f4f2e; /* rgb */ color: rgb(31, 79, 46); /* oklch */ color: oklch(38.5% 0.077 151.4);
Tailwind
colors: {
custom: {
50: '#5f8167',
500: '#1f4f2e',
950: '#000000',
},
}SCSS
$custom: #1f4f2e; $custom-light: #5f8167; $custom-dark: #000000;
JSON
{
"hex": "#1f4f2e",
"rgb": {
"r": 31,
"g": 79,
"b": 46
},
"hsl": {
"h": 138.75,
"s": 43.636,
"l": 21.569
},
"oklch": {
"l": 0.38467,
"c": 0.0767,
"h": 151.4
},
"luminance": 0.06081
}Semantic roles & 50–950 ramp
primary
#1F4F2E
secondary
#844670
accent
#54ACD3
background
#F5F7F6
surface
#EAEEEB
border
#C6C9C6
text
#050A06
muted
#797C7A