#158E2C#158E2C
#158E2C is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.169 H 145.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #158E2C |
|---|---|
| RGB | rgb(21, 142, 44) |
| HSL | hsl(131, 74%, 32%) |
| HSV | hsv(131, 85%, 56%) |
| CMYK | cmyk(85.2%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.48, -51.44, 41.83) |
| CIE-LCH | lch(51.48, 66.30, 140.88°) |
| OKLab | oklab(56.48% -0.1386 0.0965) |
| OKLCH | oklch(56.48% 0.169 145.2) |
| XYZ | xyz(10.4361, 19.6860, 5.6321) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.69
Forestgreen (CSS)
#228B22
ΔE00 1.77
Kelley Green
#009337
ΔE00 2.23
Irish Green
#019529
ΔE00 2.51
True Green
#089404
ΔE00 4.22
Green
#008000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158E2C #8E1577
analogous
#3B8E15 #158E2C #158E69
triadic
#158E2C #2C158E #8E2C15
tetradic
#158E2C #153B8E #8E1577 #8E6915
square
#158E2C #153B8E #8E1577 #8E6915
split-complementary
#158E2C #69158E #8E153B
monochromatic
#05230B #0D591B #158E2C #1DC33D #3BE25B
Accessibility & contrast
On white
4.25
#158E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#158E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158E2C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158E2C | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158e2c; /* rgb */ color: rgb(21, 142, 44); /* oklch */ color: oklch(56.5% 0.169 145.2);
Tailwind
colors: {
custom: {
50: '#6cb06a',
500: '#158e2c',
950: '#000000',
},
}SCSS
$custom: #158e2c; $custom-light: #6cb06a; $custom-dark: #000000;
JSON
{
"hex": "#158e2c",
"rgb": {
"r": 21,
"g": 142,
"b": 44
},
"hsl": {
"h": 131.405,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.56482,
"c": 0.16889,
"h": 145.2
},
"luminance": 0.19687
}Semantic roles & 50–950 ramp
primary
#158E2C
secondary
#C23DA8
accent
#37CEF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A