#158F2C#158F2C
#158F2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 145.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #158F2C |
|---|---|
| RGB | rgb(21, 143, 44) |
| HSL | hsl(131, 74%, 32%) |
| HSV | hsv(131, 85%, 56%) |
| CMYK | cmyk(85.3%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(51.82, -51.77, 42.19) |
| CIE-LCH | lch(51.82, 66.78, 140.82°) |
| OKLab | oklab(56.77% -0.1395 0.0973) |
| OKLCH | oklch(56.77% 0.17 145.1) |
| XYZ | xyz(10.5856, 19.9849, 5.6819) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.59
Forestgreen (CSS)
#228B22
ΔE00 1.93
Kelley Green
#009337
ΔE00 2.04
Irish Green
#019529
ΔE00 2.16
True Green
#089404
ΔE00 3.99
Green
#008000
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158F2C #8F1578
analogous
#3B8F15 #158F2C #158F69
triadic
#158F2C #2C158F #8F2C15
tetradic
#158F2C #153B8F #8F1578 #8F6915
square
#158F2C #153B8F #8F1578 #8F6915
split-complementary
#158F2C #69158F #8F153B
monochromatic
#05240B #0D5A1C #158F2C #1DC43C #3CE25B
Accessibility & contrast
On white
4.20
#158F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#158F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158F2C
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158F2C | 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)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #158f2c; /* rgb */ color: rgb(21, 143, 44); /* oklch */ color: oklch(56.8% 0.170 145.1);
Tailwind
colors: {
custom: {
50: '#6cb16a',
500: '#158f2c',
950: '#000000',
},
}SCSS
$custom: #158f2c; $custom-light: #6cb16a; $custom-dark: #000000;
JSON
{
"hex": "#158f2c",
"rgb": {
"r": 21,
"g": 143,
"b": 44
},
"hsl": {
"h": 131.311,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.56765,
"c": 0.17007,
"h": 145.1
},
"luminance": 0.19986
}Semantic roles & 50–950 ramp
primary
#158F2C
secondary
#C23EA9
accent
#37CEF1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A