#397940#397940
#397940 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.110 H 146.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #397940 |
|---|---|
| RGB | rgb(57, 121, 64) |
| HSL | hsl(127, 36%, 35%) |
| HSV | hsv(127, 53%, 47%) |
| CMYK | cmyk(52.9%, 0%, 47.1%, 52.5%) |
| CIE-LAB | lab(45.52, -33.53, 25.07) |
| CIE-LCH | lch(45.52, 41.86, 143.21°) |
| OKLab | oklab(51.89% -0.091 0.0614) |
| OKLCH | oklch(51.89% 0.11 146) |
| XYZ | xyz(9.4496, 14.9140, 7.2302) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.84
Jungle Green
#048243
ΔE00 4.86
Dark Sage
#598556
ΔE00 6.85
Tree Green
#2A7E19
ΔE00 7.10
Sea Green
#2E8B57
ΔE00 7.23
Dark Sea Green
#11875D
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397940 #793972
analogous
#527939 #397940 #397960
triadic
#397940 #403979 #794039
tetradic
#397940 #395279 #793972 #796039
square
#397940 #395279 #793972 #796039
split-complementary
#397940 #603979 #793952
monochromatic
#122614 #254F2A #397940 #4DA356 #71BC79
Accessibility & contrast
On white
5.27
#397940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#397940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397940
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397940 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F3C
Deuteranopia (green-blind)
#726944
Tritanopia (blue-blind)
#2E766B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397940; /* rgb */ color: rgb(57, 121, 64); /* oklch */ color: oklch(51.9% 0.110 146.0);
Tailwind
colors: {
custom: {
50: '#75a076',
500: '#397940',
950: '#000000',
},
}SCSS
$custom: #397940; $custom-light: #75a076; $custom-dark: #000000;
JSON
{
"hex": "#397940",
"rgb": {
"r": 57,
"g": 121,
"b": 64
},
"hsl": {
"h": 126.563,
"s": 35.955,
"l": 34.902
},
"oklch": {
"l": 0.51886,
"c": 0.10973,
"h": 146
},
"luminance": 0.14915
}Semantic roles & 50–950 ramp
primary
#397940
secondary
#A5699F
accent
#5CC0CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F08
muted
#7B7E7B