#158C1F#158C1F
#158C1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.175 H 143.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #158C1F |
|---|---|
| RGB | rgb(21, 140, 31) |
| HSL | hsl(125, 74%, 32%) |
| HSV | hsv(125, 85%, 55%) |
| CMYK | cmyk(85%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(50.70, -51.99, 46.15) |
| CIE-LCH | lch(50.70, 69.52, 138.40°) |
| OKLab | oklab(55.8% -0.1407 0.1039) |
| OKLCH | oklch(55.8% 0.175 143.6) |
| XYZ | xyz(9.9340, 19.0133, 4.4424) |
| Luminance | 0.1902 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.71
Emerald Green
#028F1E
ΔE00 1.10
Irish Green
#019529
ΔE00 3.18
True Green
#089404
ΔE00 3.52
Kelley Green
#009337
ΔE00 3.77
Green
#008000
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158C1F #8C1582
analogous
#478C15 #158C1F #158C5B
triadic
#158C1F #1F158C #8C1F15
tetradic
#158C1F #15478C #8C1582 #8C5B15
square
#158C1F #15478C #8C1582 #8C5B15
split-complementary
#158C1F #5B158C #8C1547
monochromatic
#052207 #0D5713 #158C1F #1DC12B #3AE148
Accessibility & contrast
On white
4.37
#158C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#158C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158C1F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158C1F | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 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)
#8F7E06
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #158c1f; /* rgb */ color: rgb(21, 140, 31); /* oklch */ color: oklch(55.8% 0.175 143.6);
Tailwind
colors: {
custom: {
50: '#6caf63',
500: '#158c1f',
950: '#000000',
},
}SCSS
$custom: #158c1f; $custom-light: #6caf63; $custom-dark: #000000;
JSON
{
"hex": "#158c1f",
"rgb": {
"r": 21,
"g": 140,
"b": 31
},
"hsl": {
"h": 125.042,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.55804,
"c": 0.17487,
"h": 143.6
},
"luminance": 0.19015
}Semantic roles & 50–950 ramp
primary
#158C1F
secondary
#C03DB5
accent
#37E1F1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A