#158E2A#158E2A
#158E2A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 144.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #158E2A |
|---|---|
| RGB | rgb(21, 142, 42) |
| HSL | hsl(130, 74%, 32%) |
| HSV | hsv(130, 85%, 56%) |
| CMYK | cmyk(85.2%, 0%, 70.4%, 44.3%) |
| CIE-LAB | lab(51.46, -51.65, 42.66) |
| CIE-LCH | lch(51.46, 66.99, 140.44°) |
| OKLab | oklab(56.46% -0.1393 0.098) |
| OKLCH | oklch(56.46% 0.17 144.9) |
| XYZ | xyz(10.3994, 19.6713, 5.4389) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.43
Forestgreen (CSS)
#228B22
ΔE00 1.58
Kelley Green
#009337
ΔE00 2.41
Irish Green
#019529
ΔE00 2.44
True Green
#089404
ΔE00 3.98
Green
#008000
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158E2A #8E1579
analogous
#3D8E15 #158E2A #158E67
triadic
#158E2A #2A158E #8E2A15
tetradic
#158E2A #153D8E #8E1579 #8E6715
square
#158E2A #153D8E #8E1579 #8E6715
split-complementary
#158E2A #67158E #8E153D
monochromatic
#05230A #0D591A #158E2A #1DC33A #3BE258
Accessibility & contrast
On white
4.26
#158E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#158E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158E2A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158E2A | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801C
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158e2a; /* rgb */ color: rgb(21, 142, 42); /* oklch */ color: oklch(56.5% 0.170 144.9);
Tailwind
colors: {
custom: {
50: '#6cb069',
500: '#158e2a',
950: '#000000',
},
}SCSS
$custom: #158e2a; $custom-light: #6cb069; $custom-dark: #000000;
JSON
{
"hex": "#158e2a",
"rgb": {
"r": 21,
"g": 142,
"b": 42
},
"hsl": {
"h": 130.413,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.56463,
"c": 0.1703,
"h": 144.9
},
"luminance": 0.19673
}Semantic roles & 50–950 ramp
primary
#158E2A
secondary
#C23DAB
accent
#37D1F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A