#158C1B#158C1B
#158C1B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.177 H 143.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #158C1B |
|---|---|
| RGB | rgb(21, 140, 27) |
| HSL | hsl(123, 74%, 32%) |
| HSV | hsv(123, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 80.7%, 45.1%) |
| CIE-LAB | lab(50.68, -52.28, 47.49) |
| CIE-LCH | lch(50.68, 70.63, 137.75°) |
| OKLab | oklab(55.78% -0.1416 0.1061) |
| OKLCH | oklch(55.78% 0.177 143.2) |
| XYZ | xyz(9.8845, 18.9935, 4.1819) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.90
Emerald Green
#028F1E
ΔE00 1.15
True Green
#089404
ΔE00 3.27
Irish Green
#019529
ΔE00 3.31
Kelley Green
#009337
ΔE00 4.11
Green
#008000
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C1B #8C1586
analogous
#4B8C15 #158C1B #158C57
triadic
#158C1B #1B158C #8C1B15
tetradic
#158C1B #154B8C #8C1586 #8C5715
square
#158C1B #154B8C #8C1586 #8C5715
split-complementary
#158C1B #57158C #8C154B
monochromatic
#052206 #0D5711 #158C1B #1DC125 #3AE142
Accessibility & contrast
On white
4.38
#158C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#158C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C1B
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C1B | 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)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c1b; /* rgb */ color: rgb(21, 140, 27); /* oklch */ color: oklch(55.8% 0.177 143.2);
Tailwind
colors: {
custom: {
50: '#6caf61',
500: '#158c1b',
950: '#000000',
},
}SCSS
$custom: #158c1b; $custom-light: #6caf61; $custom-dark: #000000;
JSON
{
"hex": "#158c1b",
"rgb": {
"r": 21,
"g": 140,
"b": 27
},
"hsl": {
"h": 123.025,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55778,
"c": 0.17696,
"h": 143.2
},
"luminance": 0.18995
}Semantic roles & 50–950 ramp
primary
#158C1B
secondary
#C03DB9
accent
#37E7F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A