#3A771C#3A771C
#3A771C is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.138 H 137.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3A771C |
|---|---|
| RGB | rgb(58, 119, 28) |
| HSL | hsl(100, 62%, 29%) |
| HSV | hsv(100, 76%, 47%) |
| CMYK | cmyk(51.3%, 0%, 76.5%, 53.3%) |
| CIE-LAB | lab(44.48, -36.67, 41.40) |
| CIE-LCH | lch(44.48, 55.31, 131.53°) |
| OKLab | oklab(50.92% -0.1016 0.0932) |
| OKLCH | oklch(50.92% 0.138 137.5) |
| XYZ | xyz(8.5511, 14.1764, 3.3841) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.07
Dark Grass Green
#388004
ΔE00 4.00
Green
#008000
ΔE00 5.09
Darkish Green
#287C37
ΔE00 5.57
Avocado
#568203
ΔE00 7.17
Forestgreen (CSS)
#228B22
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A771C #591C77
analogous
#68771C #3A771C #1C772C
triadic
#3A771C #1C3A77 #771C3A
tetradic
#3A771C #1C6877 #591C77 #772C1C
square
#3A771C #1C6877 #591C77 #772C1C
split-complementary
#3A771C #2C1C77 #771C68
monochromatic
#0C1906 #224510 #3A771C #52A928 #6DD13C
Accessibility & contrast
On white
5.48
#3A771C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#3A771C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A771C
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A771C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A771C | 1.00 | 5.48 | 3.84 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#367365
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3a771c; /* rgb */ color: rgb(58, 119, 28); /* oklch */ color: oklch(50.9% 0.138 137.5);
Tailwind
colors: {
custom: {
50: '#779f5f',
500: '#3a771c',
950: '#000000',
},
}SCSS
$custom: #3a771c; $custom-light: #779f5f; $custom-dark: #000000;
JSON
{
"hex": "#3a771c",
"rgb": {
"r": 58,
"g": 119,
"b": 28
},
"hsl": {
"h": 100.22,
"s": 61.905,
"l": 28.824
},
"oklch": {
"l": 0.50921,
"c": 0.13784,
"h": 137.5
},
"luminance": 0.14177
}Semantic roles & 50–950 ramp
primary
#3A771C
secondary
#8944AB
accent
#43E5B0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79