#158D2C#158D2C
#158D2C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.168 H 145.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #158D2C |
|---|---|
| RGB | rgb(21, 141, 44) |
| HSL | hsl(132, 74%, 32%) |
| HSV | hsv(132, 85%, 55%) |
| CMYK | cmyk(85.1%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(51.14, -51.11, 41.46) |
| CIE-LCH | lch(51.14, 65.81, 140.95°) |
| OKLab | oklab(56.2% -0.1377 0.0957) |
| OKLCH | oklch(56.2% 0.168 145.2) |
| XYZ | xyz(10.2880, 19.3897, 5.5828) |
| Luminance | 0.1939 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.68
Emerald Green
#028F1E
ΔE00 1.85
Kelley Green
#009337
ΔE00 2.46
Irish Green
#019529
ΔE00 2.86
True Green
#089404
ΔE00 4.47
Green
#008000
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158D2C #8D1576
analogous
#3A8D15 #158D2C #158D68
triadic
#158D2C #2C158D #8D2C15
tetradic
#158D2C #153A8D #8D1576 #8D6815
square
#158D2C #153A8D #8D1576 #8D6815
split-complementary
#158D2C #68158D #8D153A
monochromatic
#05220B #0D581B #158D2C #1DC23D #3BE25B
Accessibility & contrast
On white
4.30
#158D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#158D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158D2C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158D2C | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #158d2c; /* rgb */ color: rgb(21, 141, 44); /* oklch */ color: oklch(56.2% 0.168 145.2);
Tailwind
colors: {
custom: {
50: '#6caf6a',
500: '#158d2c',
950: '#000000',
},
}SCSS
$custom: #158d2c; $custom-light: #6caf6a; $custom-dark: #000000;
JSON
{
"hex": "#158d2c",
"rgb": {
"r": 21,
"g": 141,
"b": 44
},
"hsl": {
"h": 131.5,
"s": 74.074,
"l": 31.765
},
"oklch": {
"l": 0.56199,
"c": 0.16771,
"h": 145.2
},
"luminance": 0.19391
}Semantic roles & 50–950 ramp
primary
#158D2C
secondary
#C13DA7
accent
#37CDF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A