#158C1A#158C1A
#158C1A is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.177 H 143.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #158C1A |
|---|---|
| RGB | rgb(21, 140, 26) |
| HSL | hsl(123, 74%, 32%) |
| HSV | hsv(123, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(50.67, -52.35, 47.80) |
| CIE-LCH | lch(50.67, 70.89, 137.60°) |
| OKLab | oklab(55.77% -0.1419 0.1066) |
| OKLCH | oklch(55.77% 0.177 143.1) |
| XYZ | xyz(9.8731, 18.9890, 4.1220) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.96
Emerald Green
#028F1E
ΔE00 1.18
True Green
#089404
ΔE00 3.22
Irish Green
#019529
ΔE00 3.35
Kelley Green
#009337
ΔE00 4.19
Green
#008000
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C1A #8C1587
analogous
#4C8C15 #158C1A #158C56
triadic
#158C1A #1A158C #8C1A15
tetradic
#158C1A #154C8C #8C1587 #8C5615
square
#158C1A #154C8C #8C1587 #8C5615
split-complementary
#158C1A #56158C #8C154C
monochromatic
#052206 #0D5710 #158C1A #1DC124 #3AE141
Accessibility & contrast
On white
4.38
#158C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#158C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C1A
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C1A | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c1a; /* rgb */ color: rgb(21, 140, 26); /* oklch */ color: oklch(55.8% 0.177 143.1);
Tailwind
colors: {
custom: {
50: '#6caf61',
500: '#158c1a',
950: '#000000',
},
}SCSS
$custom: #158c1a; $custom-light: #6caf61; $custom-dark: #000000;
JSON
{
"hex": "#158c1a",
"rgb": {
"r": 21,
"g": 140,
"b": 26
},
"hsl": {
"h": 122.521,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55772,
"c": 0.17745,
"h": 143.1
},
"luminance": 0.1899
}Semantic roles & 50–950 ramp
primary
#158C1A
secondary
#C03DBA
accent
#37E9F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A