#1B873E#1B873E
#1B873E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.144 H 149.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1B873E |
|---|---|
| RGB | rgb(27, 135, 62) |
| HSL | hsl(139, 67%, 32%) |
| HSV | hsv(139, 80%, 53%) |
| CMYK | cmyk(80%, 0%, 54.1%, 47.1%) |
| CIE-LAB | lab(49.38, -45.90, 30.79) |
| CIE-LCH | lch(49.38, 55.28, 146.14°) |
| OKLab | oklab(54.83% -0.1233 0.0742) |
| OKLCH | oklch(54.83% 0.144 149) |
| XYZ | xyz(9.9847, 17.9076, 7.4868) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.84
Darkish Green
#287C37
ΔE00 3.96
Kelley Green
#009337
ΔE00 4.76
Sea Green
#2E8B57
ΔE00 4.97
Forestgreen (CSS)
#228B22
ΔE00 5.15
Emerald Green
#028F1E
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B873E #871B64
analogous
#2E871B #1B873E #1B8774
triadic
#1B873E #3E1B87 #873E1B
tetradic
#1B873E #1B2E87 #871B64 #87741B
square
#1B873E #1B2E87 #871B64 #87741B
split-complementary
#1B873E #741B87 #871B2E
monochromatic
#07210F #115427 #1B873E #25BA55 #43D974
Accessibility & contrast
On white
4.58
#1B873E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#1B873E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B873E
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B873E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B873E | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887B38
Deuteranopia (green-blind)
#7C7243
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #1b873e; /* rgb */ color: rgb(27, 135, 62); /* oklch */ color: oklch(54.8% 0.144 149.0);
Tailwind
colors: {
custom: {
50: '#6bab75',
500: '#1b873e',
950: '#000000',
},
}SCSS
$custom: #1b873e; $custom-light: #6bab75; $custom-dark: #000000;
JSON
{
"hex": "#1b873e",
"rgb": {
"r": 27,
"g": 135,
"b": 62
},
"hsl": {
"h": 139.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.5483,
"c": 0.14393,
"h": 149
},
"luminance": 0.17909
}Semantic roles & 50–950 ramp
primary
#1B873E
secondary
#BA4494
accent
#3EB2EA
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B