#397F19#397F19
#397F19 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.150 H 138.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F19 |
|---|---|
| RGB | rgb(57, 127, 25) |
| HSL | hsl(101, 67%, 30%) |
| HSV | hsv(101, 80%, 50%) |
| CMYK | cmyk(55.1%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(47.13, -40.46, 45.06) |
| CIE-LCH | lch(47.13, 60.56, 131.92°) |
| OKLab | oklab(53.08% -0.1119 0.1004) |
| OKLCH | oklch(53.08% 0.15 138.1) |
| XYZ | xyz(9.4518, 16.1180, 3.5325) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.71
Tree Green
#2A7E19
ΔE00 1.77
Green
#008000
ΔE00 3.60
Forestgreen (CSS)
#228B22
ΔE00 4.77
Avocado
#568203
ΔE00 5.77
Darkish Green
#287C37
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F19 #5F197F
analogous
#6C7F19 #397F19 #197F2C
triadic
#397F19 #19397F #7F1939
tetradic
#397F19 #196C7F #5F197F #7F2C19
square
#397F19 #196C7F #5F197F #7F2C19
split-complementary
#397F19 #2C197F #7F196C
monochromatic
#0B1A05 #224C0F #397F19 #50B223 #6CD83A
Accessibility & contrast
On white
4.97
#397F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#397F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F19
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F19 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f19; /* rgb */ color: rgb(57, 127, 25); /* oklch */ color: oklch(53.1% 0.150 138.1);
Tailwind
colors: {
custom: {
50: '#78a55f',
500: '#397f19',
950: '#000000',
},
}SCSS
$custom: #397f19; $custom-light: #78a55f; $custom-dark: #000000;
JSON
{
"hex": "#397f19",
"rgb": {
"r": 57,
"g": 127,
"b": 25
},
"hsl": {
"h": 101.176,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.53082,
"c": 0.15033,
"h": 138.1
},
"luminance": 0.16119
}Semantic roles & 50–950 ramp
primary
#397F19
secondary
#8F41B3
accent
#3EEAB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79