#3A771F#3A771F
#3A771F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.136 H 137.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3A771F |
|---|---|
| RGB | rgb(58, 119, 31) |
| HSL | hsl(102, 59%, 29%) |
| HSV | hsv(102, 74%, 47%) |
| CMYK | cmyk(51.3%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(44.51, -36.43, 40.23) |
| CIE-LCH | lch(44.51, 54.28, 132.16°) |
| OKLab | oklab(50.95% -0.1007 0.0912) |
| OKLCH | oklch(50.95% 0.136 137.8) |
| XYZ | xyz(8.5888, 14.1915, 3.5827) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.11
Dark Grass Green
#388004
ΔE00 4.27
Darkish Green
#287C37
ΔE00 5.20
Green
#008000
ΔE00 5.21
Forestgreen (CSS)
#228B22
ΔE00 7.38
Avocado
#568203
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A771F #5C1F77
analogous
#66771F #3A771F #1F7730
triadic
#3A771F #1F3A77 #771F3A
tetradic
#3A771F #1F6677 #5C1F77 #77301F
square
#3A771F #1F6677 #5C1F77 #77301F
split-complementary
#3A771F #301F77 #771F66
monochromatic
#0C1806 #224612 #3A771F #52A82C #6DCE43
Accessibility & contrast
On white
5.47
#3A771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#3A771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A771F
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A771F | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#367366
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3a771f; /* rgb */ color: rgb(58, 119, 31); /* oklch */ color: oklch(50.9% 0.136 137.8);
Tailwind
colors: {
custom: {
50: '#779f60',
500: '#3a771f',
950: '#000000',
},
}SCSS
$custom: #3a771f; $custom-light: #779f60; $custom-dark: #000000;
JSON
{
"hex": "#3a771f",
"rgb": {
"r": 58,
"g": 119,
"b": 31
},
"hsl": {
"h": 101.591,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.50946,
"c": 0.13587,
"h": 137.8
},
"luminance": 0.14192
}Semantic roles & 50–950 ramp
primary
#3A771F
secondary
#8C47AB
accent
#46E2B2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79