#158F2B#158F2B
#158F2B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.171 H 145.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #158F2B |
|---|---|
| RGB | rgb(21, 143, 43) |
| HSL | hsl(131, 74%, 32%) |
| HSV | hsv(131, 85%, 56%) |
| CMYK | cmyk(85.3%, 0%, 69.9%, 43.9%) |
| CIE-LAB | lab(51.81, -51.87, 42.61) |
| CIE-LCH | lch(51.81, 67.13, 140.60°) |
| OKLab | oklab(56.76% -0.1398 0.098) |
| OKLCH | oklch(56.76% 0.171 145) |
| XYZ | xyz(10.5670, 19.9775, 5.5841) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.46
Forestgreen (CSS)
#228B22
ΔE00 1.85
Irish Green
#019529
ΔE00 2.12
Kelley Green
#009337
ΔE00 2.14
True Green
#089404
ΔE00 3.87
Green
#008000
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158F2B #8F1579
analogous
#3C8F15 #158F2B #158F68
triadic
#158F2B #2B158F #8F2B15
tetradic
#158F2B #153C8F #8F1579 #8F6815
square
#158F2B #153C8F #8F1579 #8F6815
split-complementary
#158F2B #68158F #8F153C
monochromatic
#05240B #0D5A1B #158F2B #1DC43B #3CE25A
Accessibility & contrast
On white
4.20
#158F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#158F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158F2B
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158F2B | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158f2b; /* rgb */ color: rgb(21, 143, 43); /* oklch */ color: oklch(56.8% 0.171 145.0);
Tailwind
colors: {
custom: {
50: '#6cb16a',
500: '#158f2b',
950: '#000000',
},
}SCSS
$custom: #158f2b; $custom-light: #6cb16a; $custom-dark: #000000;
JSON
{
"hex": "#158f2b",
"rgb": {
"r": 21,
"g": 143,
"b": 43
},
"hsl": {
"h": 130.82,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.56755,
"c": 0.17076,
"h": 145
},
"luminance": 0.19979
}Semantic roles & 50–950 ramp
primary
#158F2B
secondary
#C23EAA
accent
#37CFF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A