#158F22#158F22
#158F22 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.177 H 143.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #158F22 |
|---|---|
| RGB | rgb(21, 143, 34) |
| HSL | hsl(126, 74%, 32%) |
| HSV | hsv(126, 85%, 56%) |
| CMYK | cmyk(85.3%, 0%, 76.2%, 43.9%) |
| CIE-LAB | lab(51.74, -52.70, 46.11) |
| CIE-LCH | lch(51.74, 70.03, 138.82°) |
| OKLab | oklab(56.68% -0.1425 0.1042) |
| OKLCH | oklch(56.68% 0.177 143.8) |
| XYZ | xyz(10.4197, 19.9185, 4.8086) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.55
Forestgreen (CSS)
#228B22
ΔE00 1.47
Irish Green
#019529
ΔE00 2.14
True Green
#089404
ΔE00 2.90
Kelley Green
#009337
ΔE00 3.09
Green
#008000
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158F22 #8F1582
analogous
#458F15 #158F22 #158F5F
triadic
#158F22 #22158F #8F2215
tetradic
#158F22 #15458F #8F1582 #8F5F15
square
#158F22 #15458F #8F1582 #8F5F15
split-complementary
#158F22 #5F158F #8F1545
monochromatic
#052409 #0D5A15 #158F22 #1DC42F #3CE24E
Accessibility & contrast
On white
4.21
#158F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#158F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158F22
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158F22 | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158f22; /* rgb */ color: rgb(21, 143, 34); /* oklch */ color: oklch(56.7% 0.177 143.8);
Tailwind
colors: {
custom: {
50: '#6db165',
500: '#158f22',
950: '#000000',
},
}SCSS
$custom: #158f22; $custom-light: #6db165; $custom-dark: #000000;
JSON
{
"hex": "#158f22",
"rgb": {
"r": 21,
"g": 143,
"b": 34
},
"hsl": {
"h": 126.393,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.56678,
"c": 0.17652,
"h": 143.8
},
"luminance": 0.1992
}Semantic roles & 50–950 ramp
primary
#158F22
secondary
#C23EB4
accent
#37DDF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A