#397F2C#397F2C
#397F2C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.137 H 140.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #397F2C |
|---|---|
| RGB | rgb(57, 127, 44) |
| HSL | hsl(111, 49%, 34%) |
| HSV | hsv(111, 65%, 50%) |
| CMYK | cmyk(55.1%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(47.27, -38.83, 37.46) |
| CIE-LCH | lch(47.27, 53.96, 136.03°) |
| OKLab | oklab(53.25% -0.1063 0.087) |
| OKLCH | oklch(53.25% 0.137 140.7) |
| XYZ | xyz(9.7309, 16.2297, 5.0022) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.55
Darkish Green
#287C37
ΔE00 3.64
Dark Grass Green
#388004
ΔE00 4.34
Green
#008000
ΔE00 4.78
Forestgreen (CSS)
#228B22
ΔE00 4.88
Jungle Green
#048243
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F2C #722C7F
analogous
#627F2C #397F2C #2C7F48
triadic
#397F2C #2C397F #7F2C39
tetradic
#397F2C #2C627F #722C7F #7F482C
square
#397F2C #2C627F #722C7F #7F482C
split-complementary
#397F2C #482C7F #7F2C62
monochromatic
#10240D #25521C #397F2C #4DAC3C #6FC75E
Accessibility & contrast
On white
4.95
#397F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#397F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F2C
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F2C | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#317B6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f2c; /* rgb */ color: rgb(57, 127, 44); /* oklch */ color: oklch(53.2% 0.137 140.7);
Tailwind
colors: {
custom: {
50: '#77a569',
500: '#397f2c',
950: '#000000',
},
}SCSS
$custom: #397f2c; $custom-light: #77a569; $custom-dark: #000000;
JSON
{
"hex": "#397f2c",
"rgb": {
"r": 57,
"g": 127,
"b": 44
},
"hsl": {
"h": 110.602,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53248,
"c": 0.13736,
"h": 140.7
},
"luminance": 0.1623
}Semantic roles & 50–950 ramp
primary
#397F2C
secondary
#A059AD
accent
#50D8C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A