#1B8E28#1B8E28
#1B8E28 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 144.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8E28 |
|---|---|
| RGB | rgb(27, 142, 40) |
| HSL | hsl(127, 68%, 33%) |
| HSV | hsv(127, 81%, 56%) |
| CMYK | cmyk(81%, 0%, 71.8%, 44.3%) |
| CIE-LAB | lab(51.53, -51.12, 43.59) |
| CIE-LCH | lch(51.53, 67.18, 139.55°) |
| OKLab | oklab(56.54% -0.1381 0.0997) |
| OKLCH | oklch(56.54% 0.17 144.2) |
| XYZ | xyz(10.5073, 19.7309, 5.2618) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.23
Forestgreen (CSS)
#228B22
ΔE00 1.28
Irish Green
#019529
ΔE00 2.43
Kelley Green
#009337
ΔE00 2.72
True Green
#089404
ΔE00 3.68
Green
#008000
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8E28 #8E1B81
analogous
#478E1B #1B8E28 #1B8E61
triadic
#1B8E28 #281B8E #8E281B
tetradic
#1B8E28 #1B478E #8E1B81 #8E611B
square
#1B8E28 #1B478E #8E1B81 #8E611B
split-complementary
#1B8E28 #611B8E #8E1B47
monochromatic
#07270B #115B1A #1B8E28 #25C136 #47DC58
Accessibility & contrast
On white
4.25
#1B8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#1B8E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8E28
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8E28 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1b8e28; /* rgb */ color: rgb(27, 142, 40); /* oklch */ color: oklch(56.5% 0.170 144.2);
Tailwind
colors: {
custom: {
50: '#6eb068',
500: '#1b8e28',
950: '#000000',
},
}SCSS
$custom: #1b8e28; $custom-light: #6eb068; $custom-dark: #000000;
JSON
{
"hex": "#1b8e28",
"rgb": {
"r": 27,
"g": 142,
"b": 40
},
"hsl": {
"h": 126.783,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.56539,
"c": 0.17035,
"h": 144.2
},
"luminance": 0.19732
}Semantic roles & 50–950 ramp
primary
#1B8E28
secondary
#BE47B0
accent
#3DD7EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A