#1F4F0B#1F4F0B
#1F4F0B is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.109 H 138.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4F0B |
|---|---|
| RGB | rgb(31, 79, 11) |
| HSL | hsl(102, 76%, 18%) |
| HSV | hsv(102, 86%, 31%) |
| CMYK | cmyk(60.8%, 0%, 86.1%, 69%) |
| CIE-LAB | lab(29.18, -29.64, 32.46) |
| CIE-LCH | lch(29.18, 43.95, 132.40°) |
| OKLab | oklab(37.97% -0.0818 0.0722) |
| OKLCH | oklch(37.97% 0.109 138.6) |
| XYZ | xyz(3.4213, 5.9072, 1.2764) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.88
Forest
#0B5509
ΔE00 3.02
Darkgreen (survey)
#054907
ΔE00 3.08
Forrest Green
#154406
ΔE00 3.52
Racing Green
#014600
ΔE00 3.67
British Racing Green
#05480D
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4F0B #3B0B4F
analogous
#414F0B #1F4F0B #0B4F19
triadic
#1F4F0B #0B1F4F #4F0B1F
tetradic
#1F4F0B #0B414F #3B0B4F #4F190B
square
#1F4F0B #0B414F #3B0B4F #4F190B
split-complementary
#1F4F0B #190B4F #4F0B41
monochromatic
#0B1B04 #0B1B04 #1F4F0B #348512 #49BA1A
Accessibility & contrast
On white
9.63
#1F4F0B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F4F0B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4F0B
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4F0B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4F0B | 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)
#524700
Deuteranopia (green-blind)
#4C4313
Tritanopia (blue-blind)
#1A4C42
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f4f0b; /* rgb */ color: rgb(31, 79, 11); /* oklch */ color: oklch(38.0% 0.109 138.6);
Tailwind
colors: {
custom: {
50: '#618150',
500: '#1f4f0b',
950: '#000000',
},
}SCSS
$custom: #1f4f0b; $custom-light: #618150; $custom-dark: #000000;
JSON
{
"hex": "#1f4f0b",
"rgb": {
"r": 31,
"g": 79,
"b": 11
},
"hsl": {
"h": 102.353,
"s": 75.556,
"l": 17.647
},
"oklch": {
"l": 0.37966,
"c": 0.10914,
"h": 138.6
},
"luminance": 0.05907
}Semantic roles & 50–950 ramp
primary
#1F4F0B
secondary
#6F2B8B
accent
#36F2BB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78