#1F8B20#1F8B20
#1F8B20 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.171 H 142.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8B20 |
|---|---|
| RGB | rgb(31, 139, 32) |
| HSL | hsl(121, 64%, 33%) |
| HSV | hsv(121, 78%, 55%) |
| CMYK | cmyk(77.7%, 0%, 77%, 45.5%) |
| CIE-LAB | lab(50.52, -50.24, 45.67) |
| CIE-LCH | lch(50.52, 67.89, 137.73°) |
| OKLab | oklab(55.7% -0.1363 0.1029) |
| OKLCH | oklch(55.7% 0.171 142.9) |
| XYZ | xyz(10.0578, 18.8597, 4.4764) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.24
Emerald Green
#028F1E
ΔE00 1.60
Irish Green
#019529
ΔE00 3.56
True Green
#089404
ΔE00 3.80
Kelley Green
#009337
ΔE00 4.05
Green
#008000
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8B20 #8B1F8A
analogous
#548B1F #1F8B20 #1F8B56
triadic
#1F8B20 #201F8B #8B201F
tetradic
#1F8B20 #1F548B #8B1F8A #8B561F
square
#1F8B20 #1F548B #8B1F8A #8B561F
split-complementary
#1F8B20 #561F8B #8B1F54
monochromatic
#092709 #145914 #1F8B20 #2ABD2C #4DD74E
Accessibility & contrast
On white
4.40
#1F8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#1F8B20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8B20
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8B20 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1f8b20; /* rgb */ color: rgb(31, 139, 32); /* oklch */ color: oklch(55.7% 0.171 142.9);
Tailwind
colors: {
custom: {
50: '#6fae63',
500: '#1f8b20',
950: '#000000',
},
}SCSS
$custom: #1f8b20; $custom-light: #6fae63; $custom-dark: #000000;
JSON
{
"hex": "#1f8b20",
"rgb": {
"r": 31,
"g": 139,
"b": 32
},
"hsl": {
"h": 120.556,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.55701,
"c": 0.17081,
"h": 142.9
},
"luminance": 0.18861
}Semantic roles & 50–950 ramp
primary
#1F8B20
secondary
#BA4CB9
accent
#41E5E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A