#397C40#397C40
#397C40 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.114 H 145.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #397C40 |
|---|---|
| RGB | rgb(57, 124, 64) |
| HSL | hsl(126, 37%, 35%) |
| HSV | hsv(126, 54%, 49%) |
| CMYK | cmyk(54%, 0%, 48.4%, 51.4%) |
| CIE-LAB | lab(46.52, -34.86, 26.34) |
| CIE-LCH | lch(46.52, 43.69, 142.92°) |
| OKLab | oklab(52.71% -0.0946 0.0642) |
| OKLCH | oklch(52.71% 0.114 145.8) |
| XYZ | xyz(9.8198, 15.6545, 7.3537) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.30
Jungle Green
#048243
ΔE00 4.25
Dark Sage
#598556
ΔE00 6.41
Sea Green
#2E8B57
ΔE00 6.49
Tree Green
#2A7E19
ΔE00 6.50
Fern Green
#548D44
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C40 #7C3975
analogous
#537C39 #397C40 #397C61
triadic
#397C40 #40397C #7C4039
tetradic
#397C40 #39537C #7C3975 #7C6139
square
#397C40 #39537C #7C3975 #7C6139
split-complementary
#397C40 #61397C #7C3953
monochromatic
#122815 #26522A #397C40 #4CA656 #71BE79
Accessibility & contrast
On white
5.08
#397C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#397C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C40
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C40 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#2D796E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #397c40; /* rgb */ color: rgb(57, 124, 64); /* oklch */ color: oklch(52.7% 0.114 145.8);
Tailwind
colors: {
custom: {
50: '#75a276',
500: '#397c40',
950: '#000000',
},
}SCSS
$custom: #397c40; $custom-light: #75a276; $custom-dark: #000000;
JSON
{
"hex": "#397c40",
"rgb": {
"r": 57,
"g": 124,
"b": 64
},
"hsl": {
"h": 126.269,
"s": 37.017,
"l": 35.49
},
"oklch": {
"l": 0.52707,
"c": 0.11433,
"h": 145.8
},
"luminance": 0.15655
}Semantic roles & 50–950 ramp
primary
#397C40
secondary
#A76AA1
accent
#5BC1CD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B