#1F8E18#1F8E18
#1F8E18 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.178 H 142.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8E18 |
|---|---|
| RGB | rgb(31, 142, 24) |
| HSL | hsl(116, 71%, 33%) |
| HSV | hsv(116, 83%, 56%) |
| CMYK | cmyk(78.2%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(51.50, -51.78, 49.24) |
| CIE-LCH | lch(51.50, 71.45, 136.44°) |
| OKLab | oklab(56.5% -0.1408 0.1092) |
| OKLCH | oklch(56.5% 0.178 142.2) |
| XYZ | xyz(10.4023, 19.7020, 4.1186) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.34
Forestgreen (CSS)
#228B22
ΔE00 1.56
True Green
#089404
ΔE00 2.41
Irish Green
#019529
ΔE00 3.04
Kelley Green
#009337
ΔE00 4.32
Green
#008000
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8E18 #87188E
analogous
#5A8E18 #1F8E18 #188E4C
triadic
#1F8E18 #181F8E #8E181F
tetradic
#1F8E18 #185A8E #87188E #8E4C18
square
#1F8E18 #185A8E #87188E #8E4C18
split-complementary
#1F8E18 #4C188E #8E185A
monochromatic
#082506 #145A0F #1F8E18 #2AC221 #4BDF41
Accessibility & contrast
On white
4.25
#1F8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#1F8E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8E18
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8E18 | 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)
#857827
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1f8e18; /* rgb */ color: rgb(31, 142, 24); /* oklch */ color: oklch(56.5% 0.178 142.2);
Tailwind
colors: {
custom: {
50: '#70b060',
500: '#1f8e18',
950: '#000000',
},
}SCSS
$custom: #1f8e18; $custom-light: #70b060; $custom-dark: #000000;
JSON
{
"hex": "#1f8e18",
"rgb": {
"r": 31,
"g": 142,
"b": 24
},
"hsl": {
"h": 116.441,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.56499,
"c": 0.17825,
"h": 142.2
},
"luminance": 0.19703
}Semantic roles & 50–950 ramp
primary
#1F8E18
secondary
#B842C0
accent
#3AEEE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A