#158C2A#158C2A
#158C2A is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.168 H 144.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #158C2A |
|---|---|
| RGB | rgb(21, 140, 42) |
| HSL | hsl(131, 74%, 32%) |
| HSV | hsv(131, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(50.78, -50.99, 41.93) |
| CIE-LCH | lch(50.78, 66.02, 140.57°) |
| OKLab | oklab(55.9% -0.1375 0.0965) |
| OKLCH | oklch(55.9% 0.168 144.9) |
| XYZ | xyz(10.1045, 19.0815, 5.3406) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.41
Emerald Green
#028F1E
ΔE00 1.84
Kelley Green
#009337
ΔE00 2.86
Irish Green
#019529
ΔE00 3.15
True Green
#089404
ΔE00 4.51
Green
#008000
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C2A #8C1577
analogous
#3C8C15 #158C2A #158C66
triadic
#158C2A #2A158C #8C2A15
tetradic
#158C2A #153C8C #8C1577 #8C6615
square
#158C2A #153C8C #8C1577 #8C6615
split-complementary
#158C2A #66158C #8C153C
monochromatic
#05220A #0D571A #158C2A #1DC13A #3AE158
Accessibility & contrast
On white
4.36
#158C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#158C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C2A
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C2A | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c2a; /* rgb */ color: rgb(21, 140, 42); /* oklch */ color: oklch(55.9% 0.168 144.9);
Tailwind
colors: {
custom: {
50: '#6caf69',
500: '#158c2a',
950: '#000000',
},
}SCSS
$custom: #158c2a; $custom-light: #6caf69; $custom-dark: #000000;
JSON
{
"hex": "#158c2a",
"rgb": {
"r": 21,
"g": 140,
"b": 42
},
"hsl": {
"h": 130.588,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55896,
"c": 0.16796,
"h": 144.9
},
"luminance": 0.19083
}Semantic roles & 50–950 ramp
primary
#158C2A
secondary
#C03DA9
accent
#37D0F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A