#158E1F#158E1F
#158E1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.177 H 143.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #158E1F |
|---|---|
| RGB | rgb(21, 142, 31) |
| HSL | hsl(125, 74%, 32%) |
| HSV | hsv(125, 85%, 56%) |
| CMYK | cmyk(85.2%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.39, -52.62, 46.83) |
| CIE-LCH | lch(51.39, 70.44, 138.34°) |
| OKLab | oklab(56.37% -0.1424 0.1053) |
| OKLCH | oklch(56.37% 0.177 143.5) |
| XYZ | xyz(10.2289, 19.6031, 4.5407) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.57
Forestgreen (CSS)
#228B22
ΔE00 1.19
Irish Green
#019529
ΔE00 2.56
True Green
#089404
ΔE00 2.91
Kelley Green
#009337
ΔE00 3.49
Green
#008000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158E1F #8E1584
analogous
#478E15 #158E1F #158E5C
triadic
#158E1F #1F158E #8E1F15
tetradic
#158E1F #15478E #8E1584 #8E5C15
square
#158E1F #15478E #8E1584 #8E5C15
split-complementary
#158E1F #5C158E #8E1547
monochromatic
#052308 #0D5913 #158E1F #1DC32B #3BE249
Accessibility & contrast
On white
4.27
#158E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#158E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158E1F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158E1F | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #158e1f; /* rgb */ color: rgb(21, 142, 31); /* oklch */ color: oklch(56.4% 0.177 143.5);
Tailwind
colors: {
custom: {
50: '#6db063',
500: '#158e1f',
950: '#000000',
},
}SCSS
$custom: #158e1f; $custom-light: #6db063; $custom-dark: #000000;
JSON
{
"hex": "#158e1f",
"rgb": {
"r": 21,
"g": 142,
"b": 31
},
"hsl": {
"h": 124.959,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.56373,
"c": 0.17709,
"h": 143.5
},
"luminance": 0.19604
}Semantic roles & 50–950 ramp
primary
#158E1F
secondary
#C23DB7
accent
#37E2F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A