#397E19#397E19
#397E19 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.149 H 138.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E19 |
|---|---|
| RGB | rgb(57, 126, 25) |
| HSL | hsl(101, 67%, 30%) |
| HSV | hsv(101, 80%, 49%) |
| CMYK | cmyk(54.8%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(46.79, -40.06, 44.73) |
| CIE-LCH | lch(46.79, 60.05, 131.85°) |
| OKLab | oklab(52.8% -0.1108 0.0997) |
| OKLCH | oklch(52.8% 0.149 138) |
| XYZ | xyz(9.3233, 15.8610, 3.4897) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.72
Dark Grass Green
#388004
ΔE00 1.86
Green
#008000
ΔE00 3.66
Forestgreen (CSS)
#228B22
ΔE00 5.08
Avocado
#568203
ΔE00 5.87
Darkish Green
#287C37
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E19 #5E197E
analogous
#6C7E19 #397E19 #197E2C
triadic
#397E19 #19397E #7E1939
tetradic
#397E19 #196C7E #5E197E #7E2C19
square
#397E19 #196C7E #5E197E #7E2C19
split-complementary
#397E19 #2C197E #7E196C
monochromatic
#0C1A05 #224B0F #397E19 #50B123 #6CD83A
Accessibility & contrast
On white
5.03
#397E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#397E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E19
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E19 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e19; /* rgb */ color: rgb(57, 126, 25); /* oklch */ color: oklch(52.8% 0.149 138.0);
Tailwind
colors: {
custom: {
50: '#77a45e',
500: '#397e19',
950: '#000000',
},
}SCSS
$custom: #397e19; $custom-light: #77a45e; $custom-dark: #000000;
JSON
{
"hex": "#397e19",
"rgb": {
"r": 57,
"g": 126,
"b": 25
},
"hsl": {
"h": 100.99,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.52803,
"c": 0.14908,
"h": 138
},
"luminance": 0.15862
}Semantic roles & 50–950 ramp
primary
#397E19
secondary
#8E41B2
accent
#3EEAB3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79