#397E1D#397E1D
#397E1D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.147 H 138.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E1D |
|---|---|
| RGB | rgb(57, 126, 29) |
| HSL | hsl(103, 63%, 30%) |
| HSV | hsv(103, 77%, 49%) |
| CMYK | cmyk(54.8%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.82, -39.78, 43.33) |
| CIE-LCH | lch(46.82, 58.82, 132.56°) |
| OKLab | oklab(52.83% -0.1098 0.0974) |
| OKLCH | oklch(52.83% 0.147 138.4) |
| XYZ | xyz(9.3696, 15.8795, 3.7335) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.60
Dark Grass Green
#388004
ΔE00 2.31
Green
#008000
ΔE00 3.76
Forestgreen (CSS)
#228B22
ΔE00 5.00
Darkish Green
#287C37
ΔE00 5.48
Avocado
#568203
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E1D #621D7E
analogous
#6A7E1D #397E1D #1D7E31
triadic
#397E1D #1D397E #7E1D39
tetradic
#397E1D #1D6A7E #621D7E #7E311D
square
#397E1D #1D6A7E #621D7E #7E311D
split-complementary
#397E1D #311D7E #7E1D6A
monochromatic
#0C1B06 #224C12 #397E1D #50B028 #6CD342
Accessibility & contrast
On white
5.03
#397E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#397E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E1D
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E1D | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e1d; /* rgb */ color: rgb(57, 126, 29); /* oklch */ color: oklch(52.8% 0.147 138.4);
Tailwind
colors: {
custom: {
50: '#77a460',
500: '#397e1d',
950: '#000000',
},
}SCSS
$custom: #397e1d; $custom-light: #77a460; $custom-dark: #000000;
JSON
{
"hex": "#397e1d",
"rgb": {
"r": 57,
"g": 126,
"b": 29
},
"hsl": {
"h": 102.68,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52831,
"c": 0.14679,
"h": 138.4
},
"luminance": 0.1588
}Semantic roles & 50–950 ramp
primary
#397E1D
secondary
#9245B1
accent
#42E6B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79