#397B2F#397B2F
#397B2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.129 H 141.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #397B2F |
|---|---|
| RGB | rgb(57, 123, 47) |
| HSL | hsl(112, 45%, 33%) |
| HSV | hsv(112, 62%, 48%) |
| CMYK | cmyk(53.7%, 0%, 61.8%, 51.8%) |
| CIE-LAB | lab(45.96, -36.81, 34.54) |
| CIE-LCH | lch(45.96, 50.48, 136.82°) |
| OKLab | oklab(52.18% -0.1006 0.0811) |
| OKLCH | oklch(52.18% 0.129 141.1) |
| XYZ | xyz(9.2830, 15.2403, 5.1413) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.81
Tree Green
#2A7E19
ΔE00 3.47
Dark Grass Green
#388004
ΔE00 5.50
Green
#008000
ΔE00 5.71
Jungle Green
#048243
ΔE00 6.10
Forestgreen (CSS)
#228B22
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397B2F #712F7B
analogous
#5F7B2F #397B2F #2F7B4B
triadic
#397B2F #2F397B #7B2F39
tetradic
#397B2F #2F5F7B #712F7B #7B4B2F
square
#397B2F #2F5F7B #712F7B #7B4B2F
split-complementary
#397B2F #4B2F7B #7B2F5F
monochromatic
#10220D #244F1E #397B2F #4EA740 #6EC362
Accessibility & contrast
On white
5.19
#397B2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#397B2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397B2F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397B2F | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#31776B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397b2f; /* rgb */ color: rgb(57, 123, 47); /* oklch */ color: oklch(52.2% 0.129 141.1);
Tailwind
colors: {
custom: {
50: '#76a26a',
500: '#397b2f',
950: '#000000',
},
}SCSS
$custom: #397b2f; $custom-light: #76a26a; $custom-dark: #000000;
JSON
{
"hex": "#397b2f",
"rgb": {
"r": 57,
"g": 123,
"b": 47
},
"hsl": {
"h": 112.105,
"s": 44.706,
"l": 33.333
},
"oklch": {
"l": 0.52178,
"c": 0.12924,
"h": 141.1
},
"luminance": 0.15241
}Semantic roles & 50–950 ramp
primary
#397B2F
secondary
#A05CAA
accent
#53D4C3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F07
muted
#7B7F7A