#158E23#158E23
#158E23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.175 H 144.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #158E23 |
|---|---|
| RGB | rgb(21, 142, 35) |
| HSL | hsl(127, 74%, 32%) |
| HSV | hsv(127, 85%, 56%) |
| CMYK | cmyk(85.2%, 0%, 75.4%, 44.3%) |
| CIE-LAB | lab(51.41, -52.30, 45.40) |
| CIE-LCH | lch(51.41, 69.26, 139.04°) |
| OKLab | oklab(56.4% -0.1414 0.1028) |
| OKLCH | oklch(56.4% 0.175 144) |
| XYZ | xyz(10.2849, 19.6255, 4.8358) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.71
Forestgreen (CSS)
#228B22
ΔE00 1.18
Irish Green
#019529
ΔE00 2.43
Kelley Green
#009337
ΔE00 3.10
True Green
#089404
ΔE00 3.25
Green
#008000
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158E23 #8E1580
analogous
#448E15 #158E23 #158E60
triadic
#158E23 #23158E #8E2315
tetradic
#158E23 #15448E #8E1580 #8E6015
square
#158E23 #15448E #8E1580 #8E6015
split-complementary
#158E23 #60158E #8E1544
monochromatic
#052309 #0D5916 #158E23 #1DC330 #3BE24F
Accessibility & contrast
On white
4.26
#158E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#158E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158E23
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158E23 | 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)
#91800F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #158e23; /* rgb */ color: rgb(21, 142, 35); /* oklch */ color: oklch(56.4% 0.175 144.0);
Tailwind
colors: {
custom: {
50: '#6cb065',
500: '#158e23',
950: '#000000',
},
}SCSS
$custom: #158e23; $custom-light: #6cb065; $custom-dark: #000000;
JSON
{
"hex": "#158e23",
"rgb": {
"r": 21,
"g": 142,
"b": 35
},
"hsl": {
"h": 126.942,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.56402,
"c": 0.1748,
"h": 144
},
"luminance": 0.19627
}Semantic roles & 50–950 ramp
primary
#158E23
secondary
#C23DB2
accent
#37DBF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A