#1F4F0D#1F4F0D
#1F4F0D is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.108 H 138.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F0D |
|---|---|
| RGB | rgb(31, 79, 13) |
| HSL | hsl(104, 72%, 18%) |
| HSV | hsv(104, 84%, 31%) |
| CMYK | cmyk(60.8%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(29.19, -29.49, 31.73) |
| CIE-LCH | lch(29.19, 43.32, 132.91°) |
| OKLab | oklab(37.98% -0.0813 0.071) |
| OKLCH | oklch(37.98% 0.108 138.9) |
| XYZ | xyz(3.4336, 5.9120, 1.3409) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.83
Darkgreen (survey)
#054907
ΔE00 2.99
Forest
#0B5509
ΔE00 3.05
Forrest Green
#154406
ΔE00 3.46
British Racing Green
#05480D
ΔE00 3.57
Forest Green (survey)
#06470C
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F0D #3D0D4F
analogous
#404F0D #1F4F0D #0D4F1C
triadic
#1F4F0D #0D1F4F #4F0D1F
tetradic
#1F4F0D #0D404F #3D0D4F #4F1C0D
square
#1F4F0D #0D404F #3D0D4F #4F1C0D
split-complementary
#1F4F0D #1C0D4F #4F0D40
monochromatic
#0A1A04 #0A1A04 #1F4F0D #348416 #48B81E
Accessibility & contrast
On white
9.62
#1F4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F0D
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F0D | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524701
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#1A4C43
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f4f0d; /* rgb */ color: rgb(31, 79, 13); /* oklch */ color: oklch(38.0% 0.108 138.9);
Tailwind
colors: {
custom: {
50: '#618151',
500: '#1f4f0d',
950: '#000000',
},
}SCSS
$custom: #1f4f0d; $custom-light: #618151; $custom-dark: #000000;
JSON
{
"hex": "#1f4f0d",
"rgb": {
"r": 31,
"g": 79,
"b": 13
},
"hsl": {
"h": 103.636,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.3798,
"c": 0.10795,
"h": 138.9
},
"luminance": 0.05912
}Semantic roles & 50–950 ramp
primary
#1F4F0D
secondary
#712E8A
accent
#39EEBD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78