#158E2F#158E2F
#158E2F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.167 H 145.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #158E2F |
|---|---|
| RGB | rgb(21, 142, 47) |
| HSL | hsl(133, 74%, 32%) |
| HSV | hsv(133, 85%, 56%) |
| CMYK | cmyk(85.2%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(51.51, -51.11, 40.54) |
| CIE-LCH | lch(51.51, 65.23, 141.58°) |
| OKLab | oklab(56.51% -0.1376 0.0941) |
| OKLCH | oklch(56.51% 0.167 145.6) |
| XYZ | xyz(10.4946, 19.7094, 5.9400) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Kelley Green
#009337
ΔE00 1.99
Emerald Green
#028F1E
ΔE00 2.10
Forestgreen (CSS)
#228B22
ΔE00 2.12
Irish Green
#019529
ΔE00 2.67
True Green
#089404
ΔE00 4.60
Tree Green
#2A7E19
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158E2F #8E1574
analogous
#378E15 #158E2F #158E6C
triadic
#158E2F #2F158E #8E2F15
tetradic
#158E2F #15378E #8E1574 #8E6C15
square
#158E2F #15378E #8E1574 #8E6C15
split-complementary
#158E2F #6C158E #8E1537
monochromatic
#05230C #0D591D #158E2F #1DC341 #3BE25F
Accessibility & contrast
On white
4.25
#158E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#158E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158E2F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158E2F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158e2f; /* rgb */ color: rgb(21, 142, 47); /* oklch */ color: oklch(56.5% 0.167 145.6);
Tailwind
colors: {
custom: {
50: '#6cb06c',
500: '#158e2f',
950: '#000000',
},
}SCSS
$custom: #158e2f; $custom-light: #6cb06c; $custom-dark: #000000;
JSON
{
"hex": "#158e2f",
"rgb": {
"r": 21,
"g": 142,
"b": 47
},
"hsl": {
"h": 132.893,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.56513,
"c": 0.1667,
"h": 145.6
},
"luminance": 0.19711
}Semantic roles & 50–950 ramp
primary
#158E2F
secondary
#C23DA5
accent
#37C9F1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A