#397F1D#397F1D
#397F1D is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.148 H 138.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F1D |
|---|---|
| RGB | rgb(57, 127, 29) |
| HSL | hsl(103, 63%, 31%) |
| HSV | hsv(103, 77%, 50%) |
| CMYK | cmyk(55.1%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(47.15, -40.19, 43.66) |
| CIE-LCH | lch(47.15, 59.34, 132.63°) |
| OKLab | oklab(53.11% -0.1109 0.0981) |
| OKLCH | oklch(53.11% 0.148 138.5) |
| XYZ | xyz(9.4981, 16.1366, 3.7763) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.64
Dark Grass Green
#388004
ΔE00 2.17
Green
#008000
ΔE00 3.69
Forestgreen (CSS)
#228B22
ΔE00 4.68
Darkish Green
#287C37
ΔE00 5.59
Avocado
#568203
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F1D #631D7F
analogous
#6A7F1D #397F1D #1D7F32
triadic
#397F1D #1D397F #7F1D39
tetradic
#397F1D #1D6A7F #631D7F #7F321D
square
#397F1D #1D6A7F #631D7F #7F321D
split-complementary
#397F1D #321D7F #7F1D6A
monochromatic
#0C1B06 #234D12 #397F1D #4FB128 #6CD442
Accessibility & contrast
On white
4.97
#397F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#397F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F1D
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F1D | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837308
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f1d; /* rgb */ color: rgb(57, 127, 29); /* oklch */ color: oklch(53.1% 0.148 138.5);
Tailwind
colors: {
custom: {
50: '#77a560',
500: '#397f1d',
950: '#000000',
},
}SCSS
$custom: #397f1d; $custom-light: #77a560; $custom-dark: #000000;
JSON
{
"hex": "#397f1d",
"rgb": {
"r": 57,
"g": 127,
"b": 29
},
"hsl": {
"h": 102.857,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.53109,
"c": 0.14806,
"h": 138.5
},
"luminance": 0.16137
}Semantic roles & 50–950 ramp
primary
#397F1D
secondary
#9345B2
accent
#42E6B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79