#1B871B#1B871B
#1B871B is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.170 H 142.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1B871B |
|---|---|
| RGB | rgb(27, 135, 27) |
| HSL | hsl(120, 67%, 32%) |
| HSV | hsv(120, 80%, 53%) |
| CMYK | cmyk(80%, 0%, 80%, 47.1%) |
| CIE-LAB | lab(49.06, -49.90, 45.95) |
| CIE-LCH | lch(49.06, 67.84, 137.36°) |
| OKLab | oklab(54.45% -0.1354 0.1028) |
| OKLCH | oklch(54.45% 0.17 142.8) |
| XYZ | xyz(9.3132, 17.6390, 3.9505) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.57
Emerald Green
#028F1E
ΔE00 2.84
Green
#008000
ΔE00 3.02
Tree Green
#2A7E19
ΔE00 3.27
Dark Grass Green
#388004
ΔE00 4.17
True Green
#089404
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B871B #871B87
analogous
#51871B #1B871B #1B8751
triadic
#1B871B #1B1B87 #871B1B
tetradic
#1B871B #1B5187 #871B87 #87511B
square
#1B871B #1B5187 #871B87 #87511B
split-complementary
#1B871B #511B87 #871B51
monochromatic
#072107 #115411 #1B871B #25BA25 #43D943
Accessibility & contrast
On white
4.64
#1B871B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#1B871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1B871B
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B871B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B871B | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #1b871b; /* rgb */ color: rgb(27, 135, 27); /* oklch */ color: oklch(54.5% 0.170 142.8);
Tailwind
colors: {
custom: {
50: '#6dab60',
500: '#1b871b',
950: '#000000',
},
}SCSS
$custom: #1b871b; $custom-light: #6dab60; $custom-dark: #000000;
JSON
{
"hex": "#1b871b",
"rgb": {
"r": 27,
"g": 135,
"b": 27
},
"hsl": {
"h": 120,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.54451,
"c": 0.17006,
"h": 142.8
},
"luminance": 0.1764
}Semantic roles & 50–950 ramp
primary
#1B871B
secondary
#BA44BA
accent
#3EEAEA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79