#397E2A#397E2A
#397E2A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.138 H 140.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #397E2A |
|---|---|
| RGB | rgb(57, 126, 42) |
| HSL | hsl(109, 50%, 33%) |
| HSV | hsv(109, 67%, 49%) |
| CMYK | cmyk(54.8%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(46.92, -38.63, 38.00) |
| CIE-LCH | lch(46.92, 54.18, 135.47°) |
| OKLab | oklab(52.95% -0.1058 0.0879) |
| OKLCH | oklch(52.95% 0.138 140.3) |
| XYZ | xyz(9.5657, 15.9580, 4.7662) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.35
Darkish Green
#287C37
ΔE00 3.77
Dark Grass Green
#388004
ΔE00 4.14
Green
#008000
ΔE00 4.66
Forestgreen (CSS)
#228B22
ΔE00 5.13
Jungle Green
#048243
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E2A #6F2A7E
analogous
#637E2A #397E2A #2A7E45
triadic
#397E2A #2A397E #7E2A39
tetradic
#397E2A #2A637E #6F2A7E #7E452A
square
#397E2A #2A637E #6F2A7E #7E452A
split-complementary
#397E2A #452A7E #7E2A63
monochromatic
#0F220B #24501B #397E2A #4EAC39 #6EC85A
Accessibility & contrast
On white
5.01
#397E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#397E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E2A
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E2A | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#317A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e2a; /* rgb */ color: rgb(57, 126, 42); /* oklch */ color: oklch(52.9% 0.138 140.3);
Tailwind
colors: {
custom: {
50: '#76a467',
500: '#397e2a',
950: '#000000',
},
}SCSS
$custom: #397e2a; $custom-light: #76a467; $custom-dark: #000000;
JSON
{
"hex": "#397e2a",
"rgb": {
"r": 57,
"g": 126,
"b": 42
},
"hsl": {
"h": 109.286,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.5295,
"c": 0.13761,
"h": 140.3
},
"luminance": 0.15959
}Semantic roles & 50–950 ramp
primary
#397E2A
secondary
#9E56AE
accent
#4EDAC1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A