#397E20#397E20
#397E20 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #397E20 |
|---|---|
| RGB | rgb(57, 126, 32) |
| HSL | hsl(104, 59%, 31%) |
| HSV | hsv(104, 75%, 49%) |
| CMYK | cmyk(54.8%, 0%, 74.6%, 50.6%) |
| CIE-LAB | lab(46.84, -39.55, 42.20) |
| CIE-LCH | lch(46.84, 57.83, 133.15°) |
| OKLab | oklab(52.86% -0.109 0.0954) |
| OKLCH | oklch(52.86% 0.145 138.8) |
| XYZ | xyz(9.4086, 15.8951, 3.9385) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.60
Dark Grass Green
#388004
ΔE00 2.68
Green
#008000
ΔE00 3.89
Forestgreen (CSS)
#228B22
ΔE00 4.97
Darkish Green
#287C37
ΔE00 5.11
Avocado
#568203
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E20 #65207E
analogous
#687E20 #397E20 #207E36
triadic
#397E20 #20397E #7E2039
tetradic
#397E20 #20687E #65207E #7E3620
square
#397E20 #20687E #65207E #7E3620
split-complementary
#397E20 #36207E #7E2068
monochromatic
#0D1C07 #234D14 #397E20 #4FAF2C #6CD048
Accessibility & contrast
On white
5.02
#397E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#397E20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E20
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E20 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e20; /* rgb */ color: rgb(57, 126, 32); /* oklch */ color: oklch(52.9% 0.145 138.8);
Tailwind
colors: {
custom: {
50: '#77a462',
500: '#397e20',
950: '#000000',
},
}SCSS
$custom: #397e20; $custom-light: #77a462; $custom-dark: #000000;
JSON
{
"hex": "#397e20",
"rgb": {
"r": 57,
"g": 126,
"b": 32
},
"hsl": {
"h": 104.043,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.52855,
"c": 0.1449,
"h": 138.8
},
"luminance": 0.15896
}Semantic roles & 50–950 ramp
primary
#397E20
secondary
#9549B1
accent
#45E3B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A