#158C23#158C23
#158C23 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.173 H 144.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #158C23 |
|---|---|
| RGB | rgb(21, 140, 35) |
| HSL | hsl(127, 74%, 32%) |
| HSV | hsv(127, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 75%, 45.1%) |
| CIE-LAB | lab(50.73, -51.66, 44.71) |
| CIE-LCH | lch(50.73, 68.32, 139.13°) |
| OKLab | oklab(55.83% -0.1396 0.1014) |
| OKLCH | oklch(55.83% 0.173 144) |
| XYZ | xyz(9.9900, 19.0357, 4.7375) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.76
Emerald Green
#028F1E
ΔE00 1.23
Irish Green
#019529
ΔE00 3.11
Kelley Green
#009337
ΔE00 3.43
True Green
#089404
ΔE00 3.83
Green
#008000
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C23 #8C157E
analogous
#438C15 #158C23 #158C5F
triadic
#158C23 #23158C #8C2315
tetradic
#158C23 #15438C #8C157E #8C5F15
square
#158C23 #15438C #8C157E #8C5F15
split-complementary
#158C23 #5F158C #8C1543
monochromatic
#052208 #0D5716 #158C23 #1DC130 #3AE14E
Accessibility & contrast
On white
4.37
#158C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#158C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C23
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C23 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c23; /* rgb */ color: rgb(21, 140, 35); /* oklch */ color: oklch(55.8% 0.173 144.0);
Tailwind
colors: {
custom: {
50: '#6caf65',
500: '#158c23',
950: '#000000',
},
}SCSS
$custom: #158c23; $custom-light: #6caf65; $custom-dark: #000000;
JSON
{
"hex": "#158c23",
"rgb": {
"r": 21,
"g": 140,
"b": 35
},
"hsl": {
"h": 127.059,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55834,
"c": 0.17254,
"h": 144
},
"luminance": 0.19037
}Semantic roles & 50–950 ramp
primary
#158C23
secondary
#C03DB0
accent
#37DBF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A