#39791A#39791A
#39791A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.142 H 137.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #39791A |
|---|---|
| RGB | rgb(57, 121, 26) |
| HSL | hsl(100, 65%, 29%) |
| HSV | hsv(100, 79%, 47%) |
| CMYK | cmyk(52.9%, 0%, 78.5%, 52.5%) |
| CIE-LAB | lab(45.11, -37.96, 42.75) |
| CIE-LCH | lch(45.11, 57.17, 131.60°) |
| OKLab | oklab(51.42% -0.1051 0.0957) |
| OKLCH | oklch(51.42% 0.142 137.7) |
| XYZ | xyz(8.7109, 14.6185, 3.3397) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.43
Dark Grass Green
#388004
ΔE00 3.25
Green
#008000
ΔE00 4.47
Darkish Green
#287C37
ΔE00 5.63
Forestgreen (CSS)
#228B22
ΔE00 6.69
Avocado
#568203
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39791A #5A1A79
analogous
#69791A #39791A #1A792B
triadic
#39791A #1A3979 #791A39
tetradic
#39791A #1A6979 #5A1A79 #792B1A
square
#39791A #1A6979 #5A1A79 #792B1A
split-complementary
#39791A #2B1A79 #791A69
monochromatic
#0C1905 #21470F #39791A #51AB25 #6CD439
Accessibility & contrast
On white
5.35
#39791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#39791A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #39791A
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39791A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39791A | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#347567
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #39791a; /* rgb */ color: rgb(57, 121, 26); /* oklch */ color: oklch(51.4% 0.142 137.7);
Tailwind
colors: {
custom: {
50: '#77a05e',
500: '#39791a',
950: '#000000',
},
}SCSS
$custom: #39791a; $custom-light: #77a05e; $custom-dark: #000000;
JSON
{
"hex": "#39791a",
"rgb": {
"r": 57,
"g": 121,
"b": 26
},
"hsl": {
"h": 100.421,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.51418,
"c": 0.14218,
"h": 137.7
},
"luminance": 0.14619
}Semantic roles & 50–950 ramp
primary
#39791A
secondary
#8A41AD
accent
#40E8B1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79