#1B8E2C#1B8E2C
#1B8E2C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.168 H 144.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8E2C |
|---|---|
| RGB | rgb(27, 142, 44) |
| HSL | hsl(129, 68%, 33%) |
| HSV | hsv(129, 81%, 56%) |
| CMYK | cmyk(81%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.56, -50.71, 41.94) |
| CIE-LCH | lch(51.56, 65.81, 140.41°) |
| OKLab | oklab(56.58% -0.1369 0.0967) |
| OKLCH | oklch(56.58% 0.168 144.8) |
| XYZ | xyz(10.5789, 19.7596, 5.6388) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.64
Emerald Green
#028F1E
ΔE00 1.68
Kelley Green
#009337
ΔE00 2.34
Irish Green
#019529
ΔE00 2.51
True Green
#089404
ΔE00 4.14
Green
#008000
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8E2C #8E1B7D
analogous
#438E1B #1B8E2C #1B8E65
triadic
#1B8E2C #2C1B8E #8E2C1B
tetradic
#1B8E2C #1B438E #8E1B7D #8E651B
square
#1B8E2C #1B438E #8E1B7D #8E651B
split-complementary
#1B8E2C #651B8E #8E1B43
monochromatic
#07270C #115B1C #1B8E2C #25C13C #47DC5D
Accessibility & contrast
On white
4.24
#1B8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#1B8E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8E2C
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8E2C | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 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)
#91801F
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1b8e2c; /* rgb */ color: rgb(27, 142, 44); /* oklch */ color: oklch(56.6% 0.168 144.8);
Tailwind
colors: {
custom: {
50: '#6db06a',
500: '#1b8e2c',
950: '#000000',
},
}SCSS
$custom: #1b8e2c; $custom-light: #6db06a; $custom-dark: #000000;
JSON
{
"hex": "#1b8e2c",
"rgb": {
"r": 27,
"g": 142,
"b": 44
},
"hsl": {
"h": 128.87,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.56576,
"c": 0.16759,
"h": 144.8
},
"luminance": 0.19761
}Semantic roles & 50–950 ramp
primary
#1B8E2C
secondary
#BE47AC
accent
#3DD1EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A