#1F4E2A#1F4E2A
#1F4E2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.080 H 149.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E2A |
|---|---|
| RGB | rgb(31, 78, 42) |
| HSL | hsl(134, 43%, 21%) |
| HSV | hsv(134, 60%, 31%) |
| CMYK | cmyk(60.3%, 0%, 46.2%, 69.4%) |
| CIE-LAB | lab(29.18, -25.16, 16.59) |
| CIE-LCH | lch(29.18, 30.14, 146.60°) |
| OKLab | oklab(38.08% -0.0682 0.041) |
| OKLCH | oklch(38.08% 0.08 149) |
| XYZ | xyz(3.7071, 5.9069, 3.1348) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.17
Evergreen
#05472A
ΔE00 3.95
Pine
#2B5D34
ΔE00 4.90
Forest Green
#2D5A27
ΔE00 5.48
Hunter Green
#355E3B
ΔE00 5.68
British Racing Green
#05480D
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E2A #4E1F43
analogous
#2C4E1F #1F4E2A #1F4E42
triadic
#1F4E2A #2A1F4E #4E2A1F
tetradic
#1F4E2A #1F2C4E #4E1F43 #4E421F
square
#1F4E2A #1F2C4E #4E1F43 #4E421F
split-complementary
#1F4E2A #421F4E #4E1F2C
monochromatic
#09160C #0E2212 #1F4E2A #307A42 #42A659
Accessibility & contrast
On white
9.63
#1F4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F4E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E2A
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E2A | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4727
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#144D45
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f4e2a; /* rgb */ color: rgb(31, 78, 42); /* oklch */ color: oklch(38.1% 0.080 149.0);
Tailwind
colors: {
custom: {
50: '#5f8064',
500: '#1f4e2a',
950: '#000000',
},
}SCSS
$custom: #1f4e2a; $custom-light: #5f8064; $custom-dark: #000000;
JSON
{
"hex": "#1f4e2a",
"rgb": {
"r": 31,
"g": 78,
"b": 42
},
"hsl": {
"h": 134.043,
"s": 43.119,
"l": 21.373
},
"oklch": {
"l": 0.38083,
"c": 0.07954,
"h": 149
},
"luminance": 0.05907
}Semantic roles & 50–950 ramp
primary
#1F4E2A
secondary
#834675
accent
#55B5D3
background
#F5F7F6
surface
#EAEEEB
border
#C6C9C6
text
#050A05
muted
#797C7A