#1F8A20#1F8A20
#1F8A20 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.170 H 143.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8A20 |
|---|---|
| RGB | rgb(31, 138, 32) |
| HSL | hsl(121, 63%, 33%) |
| HSV | hsv(121, 78%, 54%) |
| CMYK | cmyk(77.5%, 0%, 76.8%, 45.9%) |
| CIE-LAB | lab(50.18, -49.91, 45.33) |
| CIE-LCH | lch(50.18, 67.42, 137.75°) |
| OKLab | oklab(55.42% -0.1354 0.1022) |
| OKLCH | oklch(55.42% 0.17 143) |
| XYZ | xyz(9.9136, 18.5714, 4.4284) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.43
Emerald Green
#028F1E
ΔE00 1.90
Irish Green
#019529
ΔE00 3.89
True Green
#089404
ΔE00 4.13
Green
#008000
ΔE00 4.15
Kelley Green
#009337
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8A20 #8A1F89
analogous
#538A1F #1F8A20 #1F8A55
triadic
#1F8A20 #201F8A #8A201F
tetradic
#1F8A20 #1F538A #8A1F89 #8A551F
square
#1F8A20 #1F538A #8A1F89 #8A551F
split-complementary
#1F8A20 #551F8A #8A1F53
monochromatic
#092609 #145814 #1F8A20 #2ABC2C #4CD74E
Accessibility & contrast
On white
4.45
#1F8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#1F8A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8A20
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8A20 | 1.00 | 4.45 | 4.71 | 4.71 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f8a20; /* rgb */ color: rgb(31, 138, 32); /* oklch */ color: oklch(55.4% 0.170 143.0);
Tailwind
colors: {
custom: {
50: '#6ead63',
500: '#1f8a20',
950: '#000000',
},
}SCSS
$custom: #1f8a20; $custom-light: #6ead63; $custom-dark: #000000;
JSON
{
"hex": "#1f8a20",
"rgb": {
"r": 31,
"g": 138,
"b": 32
},
"hsl": {
"h": 120.561,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55418,
"c": 0.16967,
"h": 143
},
"luminance": 0.18573
}Semantic roles & 50–950 ramp
primary
#1F8A20
secondary
#BA4BB9
accent
#41E5E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A