#397F1E#397F1E
#397F1E is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.147 H 138.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F1E |
|---|---|
| RGB | rgb(57, 127, 30) |
| HSL | hsl(103, 62%, 31%) |
| HSV | hsv(103, 76%, 50%) |
| CMYK | cmyk(55.1%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(47.16, -40.11, 43.29) |
| CIE-LCH | lch(47.16, 59.02, 132.81°) |
| OKLab | oklab(53.12% -0.1107 0.0975) |
| OKLCH | oklch(53.12% 0.147 138.6) |
| XYZ | xyz(9.5107, 16.1416, 3.8425) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.62
Dark Grass Green
#388004
ΔE00 2.29
Green
#008000
ΔE00 3.73
Forestgreen (CSS)
#228B22
ΔE00 4.66
Darkish Green
#287C37
ΔE00 5.47
Avocado
#568203
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F1E #641E7F
analogous
#697F1E #397F1E #1E7F33
triadic
#397F1E #1E397F #7F1E39
tetradic
#397F1E #1E697F #641E7F #7F331E
square
#397F1E #1E697F #641E7F #7F331E
split-complementary
#397F1E #331E7F #7F1E69
monochromatic
#0D1C07 #234D12 #397F1E #4FB12A #6CD344
Accessibility & contrast
On white
4.97
#397F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#397F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F1E
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F1E | 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)
#83730B
Deuteranopia (green-blind)
#7A6E28
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f1e; /* rgb */ color: rgb(57, 127, 30); /* oklch */ color: oklch(53.1% 0.147 138.6);
Tailwind
colors: {
custom: {
50: '#77a561',
500: '#397f1e',
950: '#000000',
},
}SCSS
$custom: #397f1e; $custom-light: #77a561; $custom-dark: #000000;
JSON
{
"hex": "#397f1e",
"rgb": {
"r": 57,
"g": 127,
"b": 30
},
"hsl": {
"h": 103.299,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.53117,
"c": 0.14745,
"h": 138.6
},
"luminance": 0.16142
}Semantic roles & 50–950 ramp
primary
#397F1E
secondary
#9447B2
accent
#43E5B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79