#1F771F#1F771F
#1F771F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.148 H 143.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F771F |
|---|---|
| RGB | rgb(31, 119, 31) |
| HSL | hsl(120, 59%, 29%) |
| HSV | hsv(120, 74%, 47%) |
| CMYK | cmyk(73.9%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.63, -43.44, 39.05) |
| CIE-LCH | lch(43.63, 58.41, 138.04°) |
| OKLab | oklab(49.97% -0.1179 0.089) |
| OKLCH | oklch(49.97% 0.148 143) |
| XYZ | xyz(7.4088, 13.5831, 3.5274) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.08
Darkish Green
#287C37
ΔE00 3.88
Green
#008000
ΔE00 4.32
Dark Grass Green
#388004
ΔE00 5.66
Darkgreen
#006400
ΔE00 6.61
Jungle Green
#048243
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F771F #771F77
analogous
#4B771F #1F771F #1F774B
triadic
#1F771F #1F1F77 #771F1F
tetradic
#1F771F #1F4B77 #771F77 #774B1F
square
#1F771F #1F4B77 #771F77 #774B1F
split-complementary
#1F771F #4B1F77 #771F4B
monochromatic
#061806 #124612 #1F771F #2CA82C #43CE43
Accessibility & contrast
On white
5.65
#1F771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#1F771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F771F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F771F | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B11
Deuteranopia (green-blind)
#706428
Tritanopia (blue-blind)
#027366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f771f; /* rgb */ color: rgb(31, 119, 31); /* oklch */ color: oklch(50.0% 0.148 143.0);
Tailwind
colors: {
custom: {
50: '#6a9f60',
500: '#1f771f',
950: '#000000',
},
}SCSS
$custom: #1f771f; $custom-light: #6a9f60; $custom-dark: #000000;
JSON
{
"hex": "#1f771f",
"rgb": {
"r": 31,
"g": 119,
"b": 31
},
"hsl": {
"h": 120,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.49974,
"c": 0.14772,
"h": 143
},
"luminance": 0.13584
}Semantic roles & 50–950 ramp
primary
#1F771F
secondary
#AB47AB
accent
#46E2E2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79