#158C18#158C18
#158C18 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.178 H 142.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #158C18 |
|---|---|
| RGB | rgb(21, 140, 24) |
| HSL | hsl(122, 74%, 32%) |
| HSV | hsv(122, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 82.9%, 45.1%) |
| CIE-LAB | lab(50.66, -52.48, 48.41) |
| CIE-LCH | lch(50.66, 71.39, 137.31°) |
| OKLab | oklab(55.76% -0.1423 0.1076) |
| OKLCH | oklch(55.76% 0.178 142.9) |
| XYZ | xyz(9.8516, 18.9803, 4.0083) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.10
Emerald Green
#028F1E
ΔE00 1.27
True Green
#089404
ΔE00 3.13
Irish Green
#019529
ΔE00 3.43
Kelley Green
#009337
ΔE00 4.34
Green
#008000
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C18 #8C1589
analogous
#4E8C15 #158C18 #158C54
triadic
#158C18 #18158C #8C1815
tetradic
#158C18 #154E8C #8C1589 #8C5415
square
#158C18 #154E8C #8C1589 #8C5415
split-complementary
#158C18 #54158C #8C154E
monochromatic
#052206 #0D570F #158C18 #1DC121 #3AE13E
Accessibility & contrast
On white
4.38
#158C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#158C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C18
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C18 | 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)
#837527
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c18; /* rgb */ color: rgb(21, 140, 24); /* oklch */ color: oklch(55.8% 0.178 142.9);
Tailwind
colors: {
custom: {
50: '#6caf60',
500: '#158c18',
950: '#000000',
},
}SCSS
$custom: #158c18; $custom-light: #6caf60; $custom-dark: #000000;
JSON
{
"hex": "#158c18",
"rgb": {
"r": 21,
"g": 140,
"b": 24
},
"hsl": {
"h": 121.513,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.5576,
"c": 0.17839,
"h": 142.9
},
"luminance": 0.18982
}Semantic roles & 50–950 ramp
primary
#158C18
secondary
#C03DBD
accent
#37ECF1
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79