#1D771B#1D771B
#1D771B is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.151 H 142.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1D771B |
|---|---|
| RGB | rgb(29, 119, 27) |
| HSL | hsl(119, 63%, 29%) |
| HSV | hsv(119, 77%, 47%) |
| CMYK | cmyk(75.6%, 0%, 77.3%, 53.3%) |
| CIE-LAB | lab(43.56, -44.16, 40.55) |
| CIE-LCH | lch(43.56, 59.96, 137.44°) |
| OKLab | oklab(49.89% -0.12 0.0916) |
| OKLCH | oklch(49.89% 0.151 142.7) |
| XYZ | xyz(7.3009, 13.5332, 3.2641) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.90
Green
#008000
ΔE00 3.98
Darkish Green
#287C37
ΔE00 4.34
Dark Grass Green
#388004
ΔE00 5.39
Darkgreen
#006400
ΔE00 6.49
Forestgreen (CSS)
#228B22
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D771B #751B77
analogous
#4B771B #1D771B #1B7747
triadic
#1D771B #1B1D77 #771B1D
tetradic
#1D771B #1B4B77 #751B77 #77471B
square
#1D771B #1B4B77 #751B77 #77471B
split-complementary
#1D771B #471B77 #771B4B
monochromatic
#061906 #114510 #1D771B #29A926 #3DD23A
Accessibility & contrast
On white
5.67
#1D771B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#1D771B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D771B
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D771B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D771B | 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)
#7A6B09
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1d771b; /* rgb */ color: rgb(29, 119, 27); /* oklch */ color: oklch(49.9% 0.151 142.7);
Tailwind
colors: {
custom: {
50: '#699f5e',
500: '#1d771b',
950: '#000000',
},
}SCSS
$custom: #1d771b; $custom-light: #699f5e; $custom-dark: #000000;
JSON
{
"hex": "#1d771b",
"rgb": {
"r": 29,
"g": 119,
"b": 27
},
"hsl": {
"h": 118.696,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.49892,
"c": 0.15094,
"h": 142.7
},
"luminance": 0.13534
}Semantic roles & 50–950 ramp
primary
#1D771B
secondary
#A942AB
accent
#42E6E2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79