#1F8E17#1F8E17
#1F8E17 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.179 H 142.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8E17 |
|---|---|
| RGB | rgb(31, 142, 23) |
| HSL | hsl(116, 72%, 32%) |
| HSV | hsv(116, 84%, 56%) |
| CMYK | cmyk(78.2%, 0%, 83.8%, 44.3%) |
| CIE-LAB | lab(51.49, -51.83, 49.53) |
| CIE-LCH | lch(51.49, 71.69, 136.30°) |
| OKLab | oklab(56.49% -0.141 0.1097) |
| OKLCH | oklch(56.49% 0.179 142.1) |
| XYZ | xyz(10.3921, 19.6980, 4.0648) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.41
Forestgreen (CSS)
#228B22
ΔE00 1.63
True Green
#089404
ΔE00 2.37
Irish Green
#019529
ΔE00 3.09
Kelley Green
#009337
ΔE00 4.40
Green
#008000
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8E17 #86178E
analogous
#5B8E17 #1F8E17 #178E4A
triadic
#1F8E17 #171F8E #8E171F
tetradic
#1F8E17 #175B8E #86178E #8E4A17
square
#1F8E17 #175B8E #86178E #8E4A17
split-complementary
#1F8E17 #4A178E #8E175B
monochromatic
#082506 #14590E #1F8E17 #2AC320 #4AE03F
Accessibility & contrast
On white
4.25
#1F8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#1F8E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8E17
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8E17 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857826
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1f8e17; /* rgb */ color: rgb(31, 142, 23); /* oklch */ color: oklch(56.5% 0.179 142.1);
Tailwind
colors: {
custom: {
50: '#70b060',
500: '#1f8e17',
950: '#000000',
},
}SCSS
$custom: #1f8e17; $custom-light: #70b060; $custom-dark: #000000;
JSON
{
"hex": "#1f8e17",
"rgb": {
"r": 31,
"g": 142,
"b": 23
},
"hsl": {
"h": 115.966,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.56493,
"c": 0.17869,
"h": 142.1
},
"luminance": 0.19699
}Semantic roles & 50–950 ramp
primary
#1F8E17
secondary
#B840C0
accent
#39EFE3
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079