#39791F#39791F
#39791F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.139 H 138.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #39791F |
|---|---|
| RGB | rgb(57, 121, 31) |
| HSL | hsl(103, 59%, 30%) |
| HSV | hsv(103, 74%, 47%) |
| CMYK | cmyk(52.9%, 0%, 74.4%, 52.5%) |
| CIE-LAB | lab(45.14, -37.59, 40.87) |
| CIE-LCH | lch(45.14, 55.52, 132.60°) |
| OKLab | oklab(51.46% -0.1038 0.0925) |
| OKLCH | oklch(51.46% 0.139 138.3) |
| XYZ | xyz(8.7717, 14.6429, 3.6602) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.45
Dark Grass Green
#388004
ΔE00 3.71
Green
#008000
ΔE00 4.65
Darkish Green
#287C37
ΔE00 5.02
Forestgreen (CSS)
#228B22
ΔE00 6.65
Avocado
#568203
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39791F #5F1F79
analogous
#66791F #39791F #1F7932
triadic
#39791F #1F3979 #791F39
tetradic
#39791F #1F6679 #5F1F79 #79321F
square
#39791F #1F6679 #5F1F79 #79321F
split-complementary
#39791F #321F79 #791F66
monochromatic
#0B1806 #224813 #39791F #50AA2B #6CCF43
Accessibility & contrast
On white
5.35
#39791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#39791F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #39791F
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39791F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39791F | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#347567
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #39791f; /* rgb */ color: rgb(57, 121, 31); /* oklch */ color: oklch(51.5% 0.139 138.3);
Tailwind
colors: {
custom: {
50: '#76a061',
500: '#39791f',
950: '#000000',
},
}SCSS
$custom: #39791f; $custom-light: #76a061; $custom-dark: #000000;
JSON
{
"hex": "#39791f",
"rgb": {
"r": 57,
"g": 121,
"b": 31
},
"hsl": {
"h": 102.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51457,
"c": 0.13903,
"h": 138.3
},
"luminance": 0.14644
}Semantic roles & 50–950 ramp
primary
#39791F
secondary
#8F47AC
accent
#45E2B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79