#1F4E0B#1F4E0B
#1F4E0B is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.108 H 138.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E0B |
|---|---|
| RGB | rgb(31, 78, 11) |
| HSL | hsl(102, 75%, 17%) |
| HSV | hsv(102, 86%, 31%) |
| CMYK | cmyk(60.3%, 0%, 85.9%, 69.4%) |
| CIE-LAB | lab(28.81, -29.21, 32.11) |
| CIE-LCH | lch(28.81, 43.41, 132.30°) |
| OKLab | oklab(37.66% -0.0807 0.0715) |
| OKLCH | oklch(37.66% 0.108 138.5) |
| XYZ | xyz(3.3497, 5.7640, 1.2526) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.79
Darkgreen (survey)
#054907
ΔE00 2.94
Forrest Green
#154406
ΔE00 3.21
Forest
#0B5509
ΔE00 3.30
Racing Green
#014600
ΔE00 3.51
British Racing Green
#05480D
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E0B #3A0B4E
analogous
#404E0B #1F4E0B #0B4E19
triadic
#1F4E0B #0B1F4E #4E0B1F
tetradic
#1F4E0B #0B404E #3A0B4E #4E190B
square
#1F4E0B #0B404E #3A0B4E #4E190B
split-complementary
#1F4E0B #190B4E #4E0B40
monochromatic
#0B1B04 #0B1B04 #1F4E0B #348413 #4AB91A
Accessibility & contrast
On white
9.75
#1F4E0B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#1F4E0B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E0B
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E0B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E0B | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4B4213
Tritanopia (blue-blind)
#1B4B42
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f4e0b; /* rgb */ color: rgb(31, 78, 11); /* oklch */ color: oklch(37.7% 0.108 138.5);
Tailwind
colors: {
custom: {
50: '#618050',
500: '#1f4e0b',
950: '#000000',
},
}SCSS
$custom: #1f4e0b; $custom-light: #618050; $custom-dark: #000000;
JSON
{
"hex": "#1f4e0b",
"rgb": {
"r": 31,
"g": 78,
"b": 11
},
"hsl": {
"h": 102.09,
"s": 75.281,
"l": 17.451
},
"oklch": {
"l": 0.37662,
"c": 0.10779,
"h": 138.5
},
"luminance": 0.05764
}Semantic roles & 50–950 ramp
primary
#1F4E0B
secondary
#6E2B8A
accent
#36F2BA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78