#397C2F#397C2F
#397C2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.5% C 0.131 H 141.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #397C2F |
|---|---|
| RGB | rgb(57, 124, 47) |
| HSL | hsl(112, 45%, 34%) |
| HSV | hsv(112, 62%, 49%) |
| CMYK | cmyk(54%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(46.30, -37.24, 34.93) |
| CIE-LCH | lch(46.30, 51.05, 136.83°) |
| OKLab | oklab(52.45% -0.1018 0.082) |
| OKLCH | oklch(52.45% 0.131 141.2) |
| XYZ | xyz(9.4077, 15.4897, 5.1828) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.85
Tree Green
#2A7E19
ΔE00 3.29
Dark Grass Green
#388004
ΔE00 5.30
Green
#008000
ΔE00 5.54
Jungle Green
#048243
ΔE00 6.03
Forestgreen (CSS)
#228B22
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C2F #722F7C
analogous
#5F7C2F #397C2F #2F7C4B
triadic
#397C2F #2F397C #7C2F39
tetradic
#397C2F #2F5F7C #722F7C #7C4B2F
square
#397C2F #2F5F7C #722F7C #7C4B2F
split-complementary
#397C2F #4B2F7C #7C2F5F
monochromatic
#10230D #25501E #397C2F #4DA840 #6FC362
Accessibility & contrast
On white
5.12
#397C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#397C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C2F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C2F | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#31786B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #397c2f; /* rgb */ color: rgb(57, 124, 47); /* oklch */ color: oklch(52.5% 0.131 141.2);
Tailwind
colors: {
custom: {
50: '#76a26a',
500: '#397c2f',
950: '#000000',
},
}SCSS
$custom: #397c2f; $custom-light: #76a26a; $custom-dark: #000000;
JSON
{
"hex": "#397c2f",
"rgb": {
"r": 57,
"g": 124,
"b": 47
},
"hsl": {
"h": 112.208,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.52454,
"c": 0.13066,
"h": 141.2
},
"luminance": 0.1549
}Semantic roles & 50–950 ramp
primary
#397C2F
secondary
#A05CAA
accent
#53D5C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A