#1B8E17#1B8E17
#1B8E17 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.180 H 142.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8E17 |
|---|---|
| RGB | rgb(27, 142, 23) |
| HSL | hsl(118, 72%, 32%) |
| HSV | hsv(118, 84%, 56%) |
| CMYK | cmyk(81%, 0%, 83.8%, 44.3%) |
| CIE-LAB | lab(51.43, -52.42, 49.44) |
| CIE-LCH | lch(51.43, 72.05, 136.67°) |
| OKLab | oklab(56.42% -0.1424 0.1096) |
| OKLCH | oklch(56.42% 0.18 142.4) |
| XYZ | xyz(10.2790, 19.6396, 4.0595) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.22
Forestgreen (CSS)
#228B22
ΔE00 1.58
True Green
#089404
ΔE00 2.38
Irish Green
#019529
ΔE00 3.01
Kelley Green
#009337
ΔE00 4.30
Green
#008000
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8E17 #8A178E
analogous
#578E17 #1B8E17 #178E4E
triadic
#1B8E17 #171B8E #8E171B
tetradic
#1B8E17 #17578E #8A178E #8E4E17
square
#1B8E17 #17578E #8A178E #8E4E17
split-complementary
#1B8E17 #4E178E #8E1757
monochromatic
#072506 #11590E #1B8E17 #25C320 #45E03F
Accessibility & contrast
On white
4.26
#1B8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#1B8E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8E17
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8E17 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1b8e17; /* rgb */ color: rgb(27, 142, 23); /* oklch */ color: oklch(56.4% 0.180 142.4);
Tailwind
colors: {
custom: {
50: '#6fb060',
500: '#1b8e17',
950: '#000000',
},
}SCSS
$custom: #1b8e17; $custom-light: #6fb060; $custom-dark: #000000;
JSON
{
"hex": "#1b8e17",
"rgb": {
"r": 27,
"g": 142,
"b": 23
},
"hsl": {
"h": 117.983,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.56418,
"c": 0.1797,
"h": 142.4
},
"luminance": 0.19641
}Semantic roles & 50–950 ramp
primary
#1B8E17
secondary
#BC40C0
accent
#39EFE9
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079