#158E2B#158E2B
#158E2B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 145.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #158E2B |
|---|---|
| RGB | rgb(21, 142, 43) |
| HSL | hsl(131, 74%, 32%) |
| HSV | hsv(131, 85%, 56%) |
| CMYK | cmyk(85.2%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(51.47, -51.54, 42.25) |
| CIE-LCH | lch(51.47, 66.64, 140.66°) |
| OKLab | oklab(56.47% -0.139 0.0972) |
| OKLCH | oklch(56.47% 0.17 145) |
| XYZ | xyz(10.4176, 19.6786, 5.5343) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.56
Forestgreen (CSS)
#228B22
ΔE00 1.67
Kelley Green
#009337
ΔE00 2.32
Irish Green
#019529
ΔE00 2.47
True Green
#089404
ΔE00 4.10
Green
#008000
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158E2B #8E1578
analogous
#3C8E15 #158E2B #158E68
triadic
#158E2B #2B158E #8E2B15
tetradic
#158E2B #153C8E #8E1578 #8E6815
square
#158E2B #153C8E #8E1578 #8E6815
split-complementary
#158E2B #68158E #8E153C
monochromatic
#05230B #0D591B #158E2B #1DC33B #3BE25A
Accessibility & contrast
On white
4.25
#158E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#158E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158E2B
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158E2B | 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)
#90801D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158e2b; /* rgb */ color: rgb(21, 142, 43); /* oklch */ color: oklch(56.5% 0.170 145.0);
Tailwind
colors: {
custom: {
50: '#6cb06a',
500: '#158e2b',
950: '#000000',
},
}SCSS
$custom: #158e2b; $custom-light: #6cb06a; $custom-dark: #000000;
JSON
{
"hex": "#158e2b",
"rgb": {
"r": 21,
"g": 142,
"b": 43
},
"hsl": {
"h": 130.909,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.56472,
"c": 0.1696,
"h": 145
},
"luminance": 0.1968
}Semantic roles & 50–950 ramp
primary
#158E2B
secondary
#C23DAA
accent
#37CFF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A