#158C17#158C17
#158C17 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.179 H 142.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #158C17 |
|---|---|
| RGB | rgb(21, 140, 23) |
| HSL | hsl(121, 74%, 32%) |
| HSV | hsv(121, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 83.6%, 45.1%) |
| CIE-LAB | lab(50.66, -52.54, 48.70) |
| CIE-LCH | lch(50.66, 71.63, 137.17°) |
| OKLab | oklab(55.75% -0.1425 0.108) |
| OKLCH | oklch(55.75% 0.179 142.8) |
| XYZ | xyz(9.8414, 18.9762, 3.9545) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.17
Emerald Green
#028F1E
ΔE00 1.31
True Green
#089404
ΔE00 3.08
Irish Green
#019529
ΔE00 3.47
Kelley Green
#009337
ΔE00 4.42
Green
#008000
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C17 #8C158A
analogous
#4F8C15 #158C17 #158C53
triadic
#158C17 #17158C #8C1715
tetradic
#158C17 #154F8C #8C158A #8C5315
square
#158C17 #154F8C #8C158A #8C5315
split-complementary
#158C17 #53158C #8C154F
monochromatic
#052206 #0D570E #158C17 #1DC120 #3AE13D
Accessibility & contrast
On white
4.38
#158C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#158C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C17
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C17 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c17; /* rgb */ color: rgb(21, 140, 23); /* oklch */ color: oklch(55.8% 0.179 142.8);
Tailwind
colors: {
custom: {
50: '#6caf5f',
500: '#158c17',
950: '#000000',
},
}SCSS
$custom: #158c17; $custom-light: #6caf5f; $custom-dark: #000000;
JSON
{
"hex": "#158c17",
"rgb": {
"r": 21,
"g": 140,
"b": 23
},
"hsl": {
"h": 121.008,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55754,
"c": 0.17883,
"h": 142.8
},
"luminance": 0.18977
}Semantic roles & 50–950 ramp
primary
#158C17
secondary
#C03DBE
accent
#37EDF1
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79