#397F2F#397F2F
#397F2F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.135 H 141.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #397F2F |
|---|---|
| RGB | rgb(57, 127, 47) |
| HSL | hsl(113, 46%, 34%) |
| HSV | hsv(113, 63%, 50%) |
| CMYK | cmyk(55.1%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(47.30, -38.49, 36.08) |
| CIE-LCH | lch(47.30, 52.75, 136.86°) |
| OKLab | oklab(53.28% -0.1052 0.0844) |
| OKLCH | oklch(53.28% 0.135 141.2) |
| XYZ | xyz(9.7894, 16.2530, 5.3101) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.97
Darkish Green
#287C37
ΔE00 3.24
Dark Grass Green
#388004
ΔE00 4.85
Forestgreen (CSS)
#228B22
ΔE00 5.07
Green
#008000
ΔE00 5.14
Jungle Green
#048243
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F2F #752F7F
analogous
#617F2F #397F2F #2F7F4D
triadic
#397F2F #2F397F #7F2F39
tetradic
#397F2F #2F617F #752F7F #7F4D2F
square
#397F2F #2F617F #752F7F #7F4D2F
split-complementary
#397F2F #4D2F7F #7F2F61
monochromatic
#11260E #25521E #397F2F #4DAC40 #6FC563
Accessibility & contrast
On white
4.94
#397F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#397F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F2F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F2F | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#307B6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f2f; /* rgb */ color: rgb(57, 127, 47); /* oklch */ color: oklch(53.3% 0.135 141.2);
Tailwind
colors: {
custom: {
50: '#76a56b',
500: '#397f2f',
950: '#000000',
},
}SCSS
$custom: #397f2f; $custom-light: #76a56b; $custom-dark: #000000;
JSON
{
"hex": "#397f2f",
"rgb": {
"r": 57,
"g": 127,
"b": 47
},
"hsl": {
"h": 112.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53283,
"c": 0.13485,
"h": 141.2
},
"luminance": 0.16254
}Semantic roles & 50–950 ramp
primary
#397F2F
secondary
#A25EAC
accent
#52D6C5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A