#1F8B1A#1F8B1A
#1F8B1A is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.174 H 142.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8B1A |
|---|---|
| RGB | rgb(31, 139, 26) |
| HSL | hsl(117, 68%, 32%) |
| HSV | hsv(117, 81%, 55%) |
| CMYK | cmyk(77.7%, 0%, 81.3%, 45.5%) |
| CIE-LAB | lab(50.49, -50.67, 47.68) |
| CIE-LCH | lch(50.49, 69.58, 136.74°) |
| OKLab | oklab(55.66% -0.1378 0.1063) |
| OKLCH | oklch(55.66% 0.174 142.4) |
| XYZ | xyz(9.9835, 18.8300, 4.0855) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.82
Emerald Green
#028F1E
ΔE00 1.69
True Green
#089404
ΔE00 3.47
Irish Green
#019529
ΔE00 3.75
Green
#008000
ΔE00 4.28
Kelley Green
#009337
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8B1A #861A8B
analogous
#588B1A #1F8B1A #1A8B4D
triadic
#1F8B1A #1A1F8B #8B1A1F
tetradic
#1F8B1A #1A588B #861A8B #8B4D1A
square
#1F8B1A #1A588B #861A8B #8B4D1A
split-complementary
#1F8B1A #4D1A8B #8B1A58
monochromatic
#082407 #145710 #1F8B1A #2ABF24 #4ADC43
Accessibility & contrast
On white
4.41
#1F8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#1F8B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8B1A
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8B1A | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 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)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1f8b1a; /* rgb */ color: rgb(31, 139, 26); /* oklch */ color: oklch(55.7% 0.174 142.4);
Tailwind
colors: {
custom: {
50: '#6fae61',
500: '#1f8b1a',
950: '#000000',
},
}SCSS
$custom: #1f8b1a; $custom-light: #6fae61; $custom-dark: #000000;
JSON
{
"hex": "#1f8b1a",
"rgb": {
"r": 31,
"g": 139,
"b": 26
},
"hsl": {
"h": 117.345,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.55661,
"c": 0.17399,
"h": 142.4
},
"luminance": 0.18831
}Semantic roles & 50–950 ramp
primary
#1F8B1A
secondary
#B844BD
accent
#3CEBE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A