#1F8E1E#1F8E1E
#1F8E1E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.175 H 142.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8E1E |
|---|---|
| RGB | rgb(31, 142, 30) |
| HSL | hsl(119, 65%, 34%) |
| HSV | hsv(119, 79%, 56%) |
| CMYK | cmyk(78.2%, 0%, 78.9%, 44.3%) |
| CIE-LAB | lab(51.53, -51.38, 47.36) |
| CIE-LCH | lch(51.53, 69.88, 137.33°) |
| OKLab | oklab(56.54% -0.1395 0.1062) |
| OKLCH | oklch(56.54% 0.175 142.7) |
| XYZ | xyz(10.4718, 19.7298, 4.4844) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.03
Forestgreen (CSS)
#228B22
ΔE00 1.19
Irish Green
#019529
ΔE00 2.73
True Green
#089404
ΔE00 2.75
Kelley Green
#009337
ΔE00 3.80
Green
#008000
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8E1E #8D1E8E
analogous
#578E1E #1F8E1E #1E8E55
triadic
#1F8E1E #1E1F8E #8E1E1F
tetradic
#1F8E1E #1E578E #8D1E8E #8E551E
square
#1F8E1E #1E578E #8D1E8E #8E551E
split-complementary
#1F8E1E #551E8E #8E1E57
monochromatic
#092909 #145B13 #1F8E1E #2AC129 #4ED94D
Accessibility & contrast
On white
4.25
#1F8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#1F8E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8E1E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8E1E | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1f8e1e; /* rgb */ color: rgb(31, 142, 30); /* oklch */ color: oklch(56.5% 0.175 142.7);
Tailwind
colors: {
custom: {
50: '#6fb063',
500: '#1f8e1e',
950: '#000000',
},
}SCSS
$custom: #1f8e1e; $custom-light: #6fb063; $custom-dark: #000000;
JSON
{
"hex": "#1f8e1e",
"rgb": {
"r": 31,
"g": 142,
"b": 30
},
"hsl": {
"h": 119.464,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.56535,
"c": 0.17533,
"h": 142.7
},
"luminance": 0.19731
}Semantic roles & 50–950 ramp
primary
#1F8E1E
secondary
#BB4CBC
accent
#40E8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A