#1F4D0E#1F4D0E
#1F4D0E is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.105 H 138.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D0E |
|---|---|
| RGB | rgb(31, 77, 14) |
| HSL | hsl(104, 69%, 18%) |
| HSV | hsv(104, 82%, 30%) |
| CMYK | cmyk(59.7%, 0%, 81.8%, 69.8%) |
| CIE-LAB | lab(28.46, -28.56, 30.61) |
| CIE-LCH | lch(28.46, 41.86, 133.01°) |
| OKLab | oklab(37.38% -0.0787 0.0688) |
| OKLCH | oklch(37.38% 0.105 138.8) |
| XYZ | xyz(3.2981, 5.6305, 1.3284) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.71
Darkgreen (survey)
#054907
ΔE00 2.75
Forrest Green
#154406
ΔE00 2.84
British Racing Green
#05480D
ΔE00 3.18
Forest Green (survey)
#06470C
ΔE00 3.22
Racing Green
#014600
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D0E #3C0E4D
analogous
#3E4D0E #1F4D0E #0E4D1D
triadic
#1F4D0E #0E1F4D #4D0E1F
tetradic
#1F4D0E #0E3E4D #3C0E4D #4D1D0E
square
#1F4D0E #0E3E4D #3C0E4D #4D1D0E
split-complementary
#1F4D0E #1D0E4D #4D0E3E
monochromatic
#0A1A05 #0A1A05 #1F4D0E #348117 #49B521
Accessibility & contrast
On white
9.88
#1F4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1F4D0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D0E
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D0E | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504503
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#1B4A41
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f4d0e; /* rgb */ color: rgb(31, 77, 14); /* oklch */ color: oklch(37.4% 0.105 138.8);
Tailwind
colors: {
custom: {
50: '#617f51',
500: '#1f4d0e',
950: '#000000',
},
}SCSS
$custom: #1f4d0e; $custom-light: #617f51; $custom-dark: #000000;
JSON
{
"hex": "#1f4d0e",
"rgb": {
"r": 31,
"g": 77,
"b": 14
},
"hsl": {
"h": 103.81,
"s": 69.231,
"l": 17.843
},
"oklch": {
"l": 0.37381,
"c": 0.10457,
"h": 138.8
},
"luminance": 0.05631
}Semantic roles & 50–950 ramp
primary
#1F4D0E
secondary
#702F88
accent
#3CECBC
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78