#3A791B#3A791B
#3A791B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.141 H 137.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3A791B |
|---|---|
| RGB | rgb(58, 121, 27) |
| HSL | hsl(100, 64%, 29%) |
| HSV | hsv(100, 78%, 47%) |
| CMYK | cmyk(52.1%, 0%, 77.7%, 52.5%) |
| CIE-LAB | lab(45.15, -37.58, 42.45) |
| CIE-LCH | lch(45.15, 56.69, 131.52°) |
| OKLab | oklab(51.47% -0.1041 0.0952) |
| OKLCH | oklch(51.47% 0.141 137.6) |
| XYZ | xyz(8.7798, 14.6528, 3.4023) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.52
Dark Grass Green
#388004
ΔE00 3.30
Green
#008000
ΔE00 4.59
Darkish Green
#287C37
ΔE00 5.60
Avocado
#568203
ΔE00 6.69
Forestgreen (CSS)
#228B22
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A791B #5A1B79
analogous
#69791B #3A791B #1B792B
triadic
#3A791B #1B3A79 #791B3A
tetradic
#3A791B #1B6979 #5A1B79 #792B1B
square
#3A791B #1B6979 #5A1B79 #792B1B
split-complementary
#3A791B #2B1B79 #791B69
monochromatic
#0C1906 #224710 #3A791B #52AB26 #6DD33B
Accessibility & contrast
On white
5.34
#3A791B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#3A791B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A791B
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A791B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A791B | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#367567
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #3a791b; /* rgb */ color: rgb(58, 121, 27); /* oklch */ color: oklch(51.5% 0.141 137.6);
Tailwind
colors: {
custom: {
50: '#77a05f',
500: '#3a791b',
950: '#000000',
},
}SCSS
$custom: #3a791b; $custom-light: #77a05f; $custom-dark: #000000;
JSON
{
"hex": "#3a791b",
"rgb": {
"r": 58,
"g": 121,
"b": 27
},
"hsl": {
"h": 100.213,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.5147,
"c": 0.14107,
"h": 137.6
},
"luminance": 0.14653
}Semantic roles & 50–950 ramp
primary
#3A791B
secondary
#8A43AD
accent
#41E7B0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79