#397E2F#397E2F
#397E2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.133 H 141.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #397E2F |
|---|---|
| RGB | rgb(57, 126, 47) |
| HSL | hsl(112, 46%, 34%) |
| HSV | hsv(112, 63%, 49%) |
| CMYK | cmyk(54.8%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.97, -38.08, 35.69) |
| CIE-LCH | lch(46.97, 52.19, 136.85°) |
| OKLab | oklab(53.01% -0.104 0.0836) |
| OKLCH | oklch(53.01% 0.133 141.2) |
| XYZ | xyz(9.6608, 15.9960, 5.2672) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.04
Darkish Green
#287C37
ΔE00 3.07
Dark Grass Green
#388004
ΔE00 4.97
Green
#008000
ΔE00 5.25
Forestgreen (CSS)
#228B22
ΔE00 5.41
Jungle Green
#048243
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E2F #742F7E
analogous
#617E2F #397E2F #2F7E4D
triadic
#397E2F #2F397E #7E2F39
tetradic
#397E2F #2F617E #742F7E #7E4D2F
square
#397E2F #2F617E #742F7E #7E4D2F
split-complementary
#397E2F #4D2F7E #7E2F61
monochromatic
#11250E #25511E #397E2F #4DAB40 #6FC563
Accessibility & contrast
On white
5.00
#397E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#397E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E2F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E2F | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#317A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e2f; /* rgb */ color: rgb(57, 126, 47); /* oklch */ color: oklch(53.0% 0.133 141.2);
Tailwind
colors: {
custom: {
50: '#76a46b',
500: '#397e2f',
950: '#000000',
},
}SCSS
$custom: #397e2f; $custom-light: #76a46b; $custom-dark: #000000;
JSON
{
"hex": "#397e2f",
"rgb": {
"r": 57,
"g": 126,
"b": 47
},
"hsl": {
"h": 112.405,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.53007,
"c": 0.13345,
"h": 141.2
},
"luminance": 0.15997
}Semantic roles & 50–950 ramp
primary
#397E2F
secondary
#A25DAC
accent
#52D5C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A