#397C20#397C20
#397C20 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 138.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #397C20 |
|---|---|
| RGB | rgb(57, 124, 32) |
| HSL | hsl(104, 59%, 31%) |
| HSV | hsv(104, 74%, 49%) |
| CMYK | cmyk(54%, 0%, 74.2%, 51.4%) |
| CIE-LAB | lab(46.16, -38.74, 41.51) |
| CIE-LCH | lch(46.16, 56.78, 133.02°) |
| OKLab | oklab(52.3% -0.1068 0.094) |
| OKLCH | oklch(52.3% 0.142 138.6) |
| XYZ | xyz(9.1554, 15.3887, 3.8541) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.79
Dark Grass Green
#388004
ΔE00 3.06
Green
#008000
ΔE00 4.14
Darkish Green
#287C37
ΔE00 4.95
Forestgreen (CSS)
#228B22
ΔE00 5.63
Avocado
#568203
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C20 #63207C
analogous
#677C20 #397C20 #207C35
triadic
#397C20 #20397C #7C2039
tetradic
#397C20 #20677C #63207C #7C3520
square
#397C20 #20677C #63207C #7C3520
split-complementary
#397C20 #35207C #7C2067
monochromatic
#0C1B07 #234B13 #397C20 #4FAD2D #6CCF47
Accessibility & contrast
On white
5.15
#397C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#397C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C20
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C20 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c20; /* rgb */ color: rgb(57, 124, 32); /* oklch */ color: oklch(52.3% 0.142 138.6);
Tailwind
colors: {
custom: {
50: '#77a262',
500: '#397c20',
950: '#000000',
},
}SCSS
$custom: #397c20; $custom-light: #77a262; $custom-dark: #000000;
JSON
{
"hex": "#397c20",
"rgb": {
"r": 57,
"g": 124,
"b": 32
},
"hsl": {
"h": 103.696,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.52299,
"c": 0.1423,
"h": 138.6
},
"luminance": 0.15389
}Semantic roles & 50–950 ramp
primary
#397C20
secondary
#9349AF
accent
#46E2B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A