#158F1C#158F1C
#158F1C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.180 H 143.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #158F1C |
|---|---|
| RGB | rgb(21, 143, 28) |
| HSL | hsl(123, 74%, 32%) |
| HSV | hsv(123, 85%, 56%) |
| CMYK | cmyk(85.3%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(51.71, -53.16, 48.15) |
| CIE-LCH | lch(51.71, 71.72, 137.83°) |
| OKLab | oklab(56.64% -0.144 0.1076) |
| OKLCH | oklch(56.64% 0.18 143.2) |
| XYZ | xyz(10.3406, 19.8869, 4.3919) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.65
Forestgreen (CSS)
#228B22
ΔE00 1.60
True Green
#089404
ΔE00 2.41
Irish Green
#019529
ΔE00 2.41
Kelley Green
#009337
ΔE00 3.67
Green
#008000
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158F1C #8F1588
analogous
#4B8F15 #158F1C #158F59
triadic
#158F1C #1C158F #8F1C15
tetradic
#158F1C #154B8F #8F1588 #8F5915
square
#158F1C #154B8F #8F1588 #8F5915
split-complementary
#158F1C #59158F #8F154B
monochromatic
#052407 #0D5A12 #158F1C #1DC426 #3CE246
Accessibility & contrast
On white
4.22
#158F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#158F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158F1C
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158F1C | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 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)
#928100
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158f1c; /* rgb */ color: rgb(21, 143, 28); /* oklch */ color: oklch(56.6% 0.180 143.2);
Tailwind
colors: {
custom: {
50: '#6db162',
500: '#158f1c',
950: '#000000',
},
}SCSS
$custom: #158f1c; $custom-light: #6db162; $custom-dark: #000000;
JSON
{
"hex": "#158f1c",
"rgb": {
"r": 21,
"g": 143,
"b": 28
},
"hsl": {
"h": 123.443,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.56637,
"c": 0.17975,
"h": 143.2
},
"luminance": 0.19888
}Semantic roles & 50–950 ramp
primary
#158F1C
secondary
#C23EBA
accent
#37E6F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A