#1F5111#1F5111
#1F5111 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.108 H 139.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5111 |
|---|---|
| RGB | rgb(31, 81, 17) |
| HSL | hsl(107, 65%, 19%) |
| HSV | hsv(107, 79%, 32%) |
| CMYK | cmyk(61.7%, 0%, 79%, 68.2%) |
| CIE-LAB | lab(29.95, -30.02, 30.86) |
| CIE-LCH | lch(29.95, 43.05, 134.21°) |
| OKLab | oklab(38.62% -0.0825 0.0698) |
| OKLCH | oklch(38.62% 0.108 139.7) |
| XYZ | xyz(3.6085, 6.2163, 1.5399) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.66
Bottle Green
#044A05
ΔE00 3.07
Darkgreen (survey)
#054907
ΔE00 3.23
British Racing Green
#05480D
ΔE00 3.69
Deep Green
#02590F
ΔE00 3.77
Forest Green (survey)
#06470C
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5111 #431151
analogous
#3F5111 #1F5111 #115123
triadic
#1F5111 #111F51 #51111F
tetradic
#1F5111 #113F51 #431151 #512311
square
#1F5111 #113F51 #431151 #512311
split-complementary
#1F5111 #231151 #51113F
monochromatic
#0A1905 #0C1E06 #1F5111 #32841C #46B626
Accessibility & contrast
On white
9.36
#1F5111 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1F5111 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5111
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5111 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f5111; /* rgb */ color: rgb(31, 81, 17); /* oklch */ color: oklch(38.6% 0.108 139.7);
Tailwind
colors: {
custom: {
50: '#618254',
500: '#1f5111',
950: '#000000',
},
}SCSS
$custom: #1f5111; $custom-light: #618254; $custom-dark: #000000;
JSON
{
"hex": "#1f5111",
"rgb": {
"r": 31,
"g": 81,
"b": 17
},
"hsl": {
"h": 106.875,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.38618,
"c": 0.10806,
"h": 139.7
},
"luminance": 0.06217
}Semantic roles & 50–950 ramp
primary
#1F5111
secondary
#77348A
accent
#40E8C3
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#050A03
muted
#7A7C78