#397E17#397E17
#397E17 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.150 H 137.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #397E17 |
|---|---|
| RGB | rgb(57, 126, 23) |
| HSL | hsl(100, 69%, 29%) |
| HSV | hsv(100, 82%, 49%) |
| CMYK | cmyk(54.8%, 0%, 81.7%, 50.6%) |
| CIE-LAB | lab(46.78, -40.18, 45.39) |
| CIE-LCH | lch(46.78, 60.62, 131.52°) |
| OKLab | oklab(52.79% -0.1113 0.1008) |
| OKLCH | oklch(52.79% 0.15 137.8) |
| XYZ | xyz(9.3025, 15.8527, 3.3801) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.66
Tree Green
#2A7E19
ΔE00 1.82
Green
#008000
ΔE00 3.64
Forestgreen (CSS)
#228B22
ΔE00 5.14
Avocado
#568203
ΔE00 5.74
Darkish Green
#287C37
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E17 #5C177E
analogous
#6D7E17 #397E17 #177E28
triadic
#397E17 #17397E #7E1739
tetradic
#397E17 #176D7E #5C177E #7E2817
square
#397E17 #176D7E #5C177E #7E2817
split-complementary
#397E17 #28177E #7E176D
monochromatic
#0C1A05 #224A0E #397E17 #50B220 #6CDA35
Accessibility & contrast
On white
5.04
#397E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#397E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E17
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E17 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e17; /* rgb */ color: rgb(57, 126, 23); /* oklch */ color: oklch(52.8% 0.150 137.8);
Tailwind
colors: {
custom: {
50: '#77a45e',
500: '#397e17',
950: '#000000',
},
}SCSS
$custom: #397e17; $custom-light: #77a45e; $custom-dark: #000000;
JSON
{
"hex": "#397e17",
"rgb": {
"r": 57,
"g": 126,
"b": 23
},
"hsl": {
"h": 100.194,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.52791,
"c": 0.15013,
"h": 137.8
},
"luminance": 0.15853
}Semantic roles & 50–950 ramp
primary
#397E17
secondary
#8C3EB3
accent
#3CECB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79