#158A2B#158A2B
#158A2B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.165 H 145.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #158A2B |
|---|---|
| RGB | rgb(21, 138, 43) |
| HSL | hsl(131, 74%, 31%) |
| HSV | hsv(131, 85%, 54%) |
| CMYK | cmyk(84.8%, 0%, 68.8%, 45.9%) |
| CIE-LAB | lab(50.11, -50.23, 40.77) |
| CIE-LCH | lch(50.11, 64.69, 140.93°) |
| OKLab | oklab(55.34% -0.1354 0.0941) |
| OKLCH | oklch(55.34% 0.165 145.2) |
| XYZ | xyz(9.8331, 18.5096, 5.3395) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.72
Emerald Green
#028F1E
ΔE00 2.50
Kelley Green
#009337
ΔE00 3.35
Irish Green
#019529
ΔE00 3.91
Tree Green
#2A7E19
ΔE00 4.77
Green
#008000
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158A2B #8A1574
analogous
#398A15 #158A2B #158A65
triadic
#158A2B #2B158A #8A2B15
tetradic
#158A2B #15398A #8A1574 #8A6515
square
#158A2B #15398A #8A1574 #8A6515
split-complementary
#158A2B #65158A #8A1539
monochromatic
#05200A #0D551A #158A2B #1DBF3C #39E158
Accessibility & contrast
On white
4.47
#158A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#158A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158A2B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158A2B | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #158a2b; /* rgb */ color: rgb(21, 138, 43); /* oklch */ color: oklch(55.3% 0.165 145.2);
Tailwind
colors: {
custom: {
50: '#6bad69',
500: '#158a2b',
950: '#000000',
},
}SCSS
$custom: #158a2b; $custom-light: #6bad69; $custom-dark: #000000;
JSON
{
"hex": "#158a2b",
"rgb": {
"r": 21,
"g": 138,
"b": 43
},
"hsl": {
"h": 131.282,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.55338,
"c": 0.16489,
"h": 145.2
},
"luminance": 0.18511
}Semantic roles & 50–950 ramp
primary
#158A2B
secondary
#BE3DA6
accent
#38CEF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A