#1B771F#1B771F
#1B771F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.149 H 143.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1B771F |
|---|---|
| RGB | rgb(27, 119, 31) |
| HSL | hsl(123, 63%, 29%) |
| HSV | hsv(123, 77%, 47%) |
| CMYK | cmyk(77.3%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.54, -44.16, 38.94) |
| CIE-LCH | lch(43.54, 58.87, 138.60°) |
| OKLab | oklab(49.88% -0.1197 0.0888) |
| OKLCH | oklch(49.88% 0.149 143.4) |
| XYZ | xyz(7.2957, 13.5248, 3.5221) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.24
Darkish Green
#287C37
ΔE00 3.86
Green
#008000
ΔE00 4.34
Dark Grass Green
#388004
ΔE00 5.86
Darkgreen
#006400
ΔE00 6.57
Jungle Green
#048243
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B771F #771B73
analogous
#45771B #1B771F #1B774D
triadic
#1B771F #1F1B77 #771F1B
tetradic
#1B771F #1B4577 #771B73 #774D1B
square
#1B771F #1B4577 #771B73 #774D1B
split-complementary
#1B771F #4D1B77 #771B45
monochromatic
#061906 #104512 #1B771F #26A92C #3AD241
Accessibility & contrast
On white
5.67
#1B771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#1B771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B771F
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B771F | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1b771f; /* rgb */ color: rgb(27, 119, 31); /* oklch */ color: oklch(49.9% 0.149 143.4);
Tailwind
colors: {
custom: {
50: '#689f60',
500: '#1b771f',
950: '#000000',
},
}SCSS
$custom: #1b771f; $custom-light: #689f60; $custom-dark: #000000;
JSON
{
"hex": "#1b771f",
"rgb": {
"r": 27,
"g": 119,
"b": 31
},
"hsl": {
"h": 122.609,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.49879,
"c": 0.14899,
"h": 143.4
},
"luminance": 0.13526
}Semantic roles & 50–950 ramp
primary
#1B771F
secondary
#AB42A7
accent
#42DFE6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79