#397D2F#397D2F
#397D2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.132 H 141.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #397D2F |
|---|---|
| RGB | rgb(57, 125, 47) |
| HSL | hsl(112, 45%, 34%) |
| HSV | hsv(112, 62%, 49%) |
| CMYK | cmyk(54.4%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(46.63, -37.66, 35.31) |
| CIE-LCH | lch(46.63, 51.62, 136.84°) |
| OKLab | oklab(52.73% -0.1029 0.0828) |
| OKLCH | oklch(52.73% 0.132 141.2) |
| XYZ | xyz(9.5336, 15.7416, 5.2248) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.94
Tree Green
#2A7E19
ΔE00 3.14
Dark Grass Green
#388004
ΔE00 5.13
Green
#008000
ΔE00 5.38
Forestgreen (CSS)
#228B22
ΔE00 5.76
Jungle Green
#048243
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397D2F #732F7D
analogous
#607D2F #397D2F #2F7D4C
triadic
#397D2F #2F397D #7D2F39
tetradic
#397D2F #2F607D #732F7D #7D4C2F
square
#397D2F #2F607D #732F7D #7D4C2F
split-complementary
#397D2F #4C2F7D #7D2F60
monochromatic
#10240E #25511E #397D2F #4DA940 #6FC462
Accessibility & contrast
On white
5.06
#397D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#397D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397D2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397D2F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#31796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #397d2f; /* rgb */ color: rgb(57, 125, 47); /* oklch */ color: oklch(52.7% 0.132 141.2);
Tailwind
colors: {
custom: {
50: '#76a36a',
500: '#397d2f',
950: '#000000',
},
}SCSS
$custom: #397d2f; $custom-light: #76a36a; $custom-dark: #000000;
JSON
{
"hex": "#397d2f",
"rgb": {
"r": 57,
"g": 125,
"b": 47
},
"hsl": {
"h": 112.308,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.52731,
"c": 0.13206,
"h": 141.2
},
"luminance": 0.15742
}Semantic roles & 50–950 ramp
primary
#397D2F
secondary
#A15DAB
accent
#53D5C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A