#158F18#158F18
#158F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.182 H 142.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #158F18 |
|---|---|
| RGB | rgb(21, 143, 24) |
| HSL | hsl(121, 74%, 32%) |
| HSV | hsv(121, 85%, 56%) |
| CMYK | cmyk(85.3%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(51.69, -53.41, 49.36) |
| CIE-LCH | lch(51.69, 72.73, 137.26°) |
| OKLab | oklab(56.61% -0.1448 0.1096) |
| OKLCH | oklch(56.61% 0.182 142.9) |
| XYZ | xyz(10.2959, 19.8690, 4.1564) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.94
Forestgreen (CSS)
#228B22
ΔE00 1.79
True Green
#089404
ΔE00 2.16
Irish Green
#019529
ΔE00 2.63
Kelley Green
#009337
ΔE00 4.02
Green
#008000
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158F18 #8F158C
analogous
#4F8F15 #158F18 #158F55
triadic
#158F18 #18158F #8F1815
tetradic
#158F18 #154F8F #8F158C #8F5515
square
#158F18 #154F8F #8F158C #8F5515
split-complementary
#158F18 #55158F #8F154F
monochromatic
#052406 #0D5A0F #158F18 #1DC421 #3CE240
Accessibility & contrast
On white
4.22
#158F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#158F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158F18
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158F18 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158f18; /* rgb */ color: rgb(21, 143, 24); /* oklch */ color: oklch(56.6% 0.182 142.9);
Tailwind
colors: {
custom: {
50: '#6db160',
500: '#158f18',
950: '#000000',
},
}SCSS
$custom: #158f18; $custom-light: #6db160; $custom-dark: #000000;
JSON
{
"hex": "#158f18",
"rgb": {
"r": 21,
"g": 143,
"b": 24
},
"hsl": {
"h": 121.475,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.56613,
"c": 0.18162,
"h": 142.9
},
"luminance": 0.1987
}Semantic roles & 50–950 ramp
primary
#158F18
secondary
#C23EBF
accent
#37ECF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A