#158F12#158F12
#158F12 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.184 H 142.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #158F12 |
|---|---|
| RGB | rgb(21, 143, 18) |
| HSL | hsl(119, 78%, 32%) |
| HSV | hsv(119, 87%, 56%) |
| CMYK | cmyk(85.3%, 0%, 87.4%, 43.9%) |
| CIE-LAB | lab(51.66, -53.73, 50.94) |
| CIE-LCH | lch(51.66, 74.04, 136.53°) |
| OKLab | oklab(56.58% -0.1459 0.1121) |
| OKLCH | oklch(56.58% 0.184 142.5) |
| XYZ | xyz(10.2403, 19.8467, 3.8633) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.37
True Green
#089404
ΔE00 1.90
Forestgreen (CSS)
#228B22
ΔE00 2.10
Irish Green
#019529
ΔE00 2.96
Kelley Green
#009337
ΔE00 4.48
Green
#008000
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#158F12 #8C128F
analogous
#548F12 #158F12 #128F4E
triadic
#158F12 #12158F #8F1215
tetradic
#158F12 #12548F #8C128F #8F4E12
square
#158F12 #12548F #8C128F #8F4E12
split-complementary
#158F12 #4E128F #8F1254
monochromatic
#052204 #0D590B #158F12 #1DC519 #3AE636
Accessibility & contrast
On white
4.23
#158F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#158F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #158F12
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##158F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##158F12 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #158f12; /* rgb */ color: rgb(21, 143, 18); /* oklch */ color: oklch(56.6% 0.184 142.5);
Tailwind
colors: {
custom: {
50: '#6eb15e',
500: '#158f12',
950: '#000000',
},
}SCSS
$custom: #158f12; $custom-light: #6eb15e; $custom-dark: #000000;
JSON
{
"hex": "#158f12",
"rgb": {
"r": 21,
"g": 143,
"b": 18
},
"hsl": {
"h": 118.56,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.56584,
"c": 0.184,
"h": 142.5
},
"luminance": 0.19848
}Semantic roles & 50–950 ramp
primary
#158F12
secondary
#C03AC3
accent
#34F4F0
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079