#397D2C#397D2C
#397D2C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.135 H 140.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #397D2C |
|---|---|
| RGB | rgb(57, 125, 44) |
| HSL | hsl(110, 48%, 33%) |
| HSV | hsv(110, 65%, 49%) |
| CMYK | cmyk(54.4%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(46.60, -38.00, 36.71) |
| CIE-LCH | lch(46.60, 52.84, 135.99°) |
| OKLab | oklab(52.7% -0.104 0.0855) |
| OKLCH | oklch(52.7% 0.135 140.6) |
| XYZ | xyz(9.4752, 15.7182, 4.9170) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.70
Darkish Green
#287C37
ΔE00 3.36
Dark Grass Green
#388004
ΔE00 4.62
Green
#008000
ΔE00 5.01
Forestgreen (CSS)
#228B22
ΔE00 5.57
Jungle Green
#048243
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397D2C #702C7D
analogous
#617D2C #397D2C #2C7D47
triadic
#397D2C #2C397D #7D2C39
tetradic
#397D2C #2C617D #702C7D #7D472C
square
#397D2C #2C617D #702C7D #7D472C
split-complementary
#397D2C #472C7D #7D2C61
monochromatic
#10220C #24501C #397D2C #4EAA3C #6EC65D
Accessibility & contrast
On white
5.07
#397D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#397D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397D2C
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397D2C | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#31796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #397d2c; /* rgb */ color: rgb(57, 125, 44); /* oklch */ color: oklch(52.7% 0.135 140.6);
Tailwind
colors: {
custom: {
50: '#76a369',
500: '#397d2c',
950: '#000000',
},
}SCSS
$custom: #397d2c; $custom-light: #76a369; $custom-dark: #000000;
JSON
{
"hex": "#397d2c",
"rgb": {
"r": 57,
"g": 125,
"b": 44
},
"hsl": {
"h": 110.37,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.52695,
"c": 0.13461,
"h": 140.6
},
"luminance": 0.15719
}Semantic roles & 50–950 ramp
primary
#397D2C
secondary
#9F59AC
accent
#50D8C2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A