#158C22#158C22
#158C22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.173 H 143.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #158C22 |
|---|---|
| RGB | rgb(21, 140, 34) |
| HSL | hsl(127, 74%, 32%) |
| HSV | hsv(127, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 75.7%, 45.1%) |
| CIE-LAB | lab(50.72, -51.75, 45.08) |
| CIE-LCH | lch(50.72, 68.63, 138.94°) |
| OKLab | oklab(55.83% -0.1399 0.102) |
| OKLCH | oklch(55.83% 0.173 143.9) |
| XYZ | xyz(9.9754, 19.0299, 4.6605) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.72
Emerald Green
#028F1E
ΔE00 1.18
Irish Green
#019529
ΔE00 3.12
Kelley Green
#009337
ΔE00 3.52
True Green
#089404
ΔE00 3.74
Green
#008000
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C22 #8C157F
analogous
#448C15 #158C22 #158C5E
triadic
#158C22 #22158C #8C2215
tetradic
#158C22 #15448C #8C157F #8C5E15
square
#158C22 #15448C #8C157F #8C5E15
split-complementary
#158C22 #5E158C #8C1544
monochromatic
#052208 #0D5715 #158C22 #1DC12F #3AE14C
Accessibility & contrast
On white
4.37
#158C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#158C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C22
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C22 | 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)
#8F7E0D
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c22; /* rgb */ color: rgb(21, 140, 34); /* oklch */ color: oklch(55.8% 0.173 143.9);
Tailwind
colors: {
custom: {
50: '#6caf64',
500: '#158c22',
950: '#000000',
},
}SCSS
$custom: #158c22; $custom-light: #6caf64; $custom-dark: #000000;
JSON
{
"hex": "#158c22",
"rgb": {
"r": 21,
"g": 140,
"b": 34
},
"hsl": {
"h": 126.555,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55827,
"c": 0.17315,
"h": 143.9
},
"luminance": 0.19031
}Semantic roles & 50–950 ramp
primary
#158C22
secondary
#C03DB2
accent
#37DCF1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A