#1B771B#1B771B
#1B771B is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.152 H 142.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1B771B |
|---|---|
| RGB | rgb(27, 119, 27) |
| HSL | hsl(120, 63%, 29%) |
| HSV | hsv(120, 77%, 47%) |
| CMYK | cmyk(77.3%, 0%, 77.3%, 53.3%) |
| CIE-LAB | lab(43.51, -44.52, 40.50) |
| CIE-LCH | lch(43.51, 60.18, 137.71°) |
| OKLab | oklab(49.85% -0.1208 0.0915) |
| OKLCH | oklch(49.85% 0.152 142.9) |
| XYZ | xyz(7.2462, 13.5050, 3.2615) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.98
Green
#008000
ΔE00 3.99
Darkish Green
#287C37
ΔE00 4.33
Dark Grass Green
#388004
ΔE00 5.49
Darkgreen
#006400
ΔE00 6.47
Forestgreen (CSS)
#228B22
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B771B #771B77
analogous
#49771B #1B771B #1B7749
triadic
#1B771B #1B1B77 #771B1B
tetradic
#1B771B #1B4977 #771B77 #77491B
square
#1B771B #1B4977 #771B77 #77491B
split-complementary
#1B771B #491B77 #771B49
monochromatic
#061906 #104510 #1B771B #26A926 #3AD23A
Accessibility & contrast
On white
5.67
#1B771B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#1B771B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B771B
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B771B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B771B | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1b771b; /* rgb */ color: rgb(27, 119, 27); /* oklch */ color: oklch(49.8% 0.152 142.9);
Tailwind
colors: {
custom: {
50: '#689f5e',
500: '#1b771b',
950: '#000000',
},
}SCSS
$custom: #1b771b; $custom-light: #689f5e; $custom-dark: #000000;
JSON
{
"hex": "#1b771b",
"rgb": {
"r": 27,
"g": 119,
"b": 27
},
"hsl": {
"h": 120,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.49846,
"c": 0.15155,
"h": 142.9
},
"luminance": 0.13506
}Semantic roles & 50–950 ramp
primary
#1B771B
secondary
#AB42AB
accent
#42E6E6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79