#397F17#397F17
#397F17 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.151 H 137.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F17 |
|---|---|
| RGB | rgb(57, 127, 23) |
| HSL | hsl(100, 69%, 29%) |
| HSV | hsv(100, 82%, 50%) |
| CMYK | cmyk(55.1%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(47.12, -40.58, 45.70) |
| CIE-LCH | lch(47.12, 61.12, 131.60°) |
| OKLab | oklab(53.07% -0.1124 0.1014) |
| OKLCH | oklch(53.07% 0.151 137.9) |
| XYZ | xyz(9.4310, 16.1097, 3.4230) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.49
Tree Green
#2A7E19
ΔE00 1.87
Green
#008000
ΔE00 3.58
Forestgreen (CSS)
#228B22
ΔE00 4.83
Avocado
#568203
ΔE00 5.63
Darkish Green
#287C37
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F17 #5D177F
analogous
#6D7F17 #397F17 #177F29
triadic
#397F17 #17397F #7F1739
tetradic
#397F17 #176D7F #5D177F #7F2917
square
#397F17 #176D7F #5D177F #7F2917
split-complementary
#397F17 #29177F #7F176D
monochromatic
#0C1A05 #224B0E #397F17 #50B320 #6CDB36
Accessibility & contrast
On white
4.97
#397F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#397F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F17
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F17 | 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)
#7A6E23
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f17; /* rgb */ color: rgb(57, 127, 23); /* oklch */ color: oklch(53.1% 0.151 137.9);
Tailwind
colors: {
custom: {
50: '#78a55e',
500: '#397f17',
950: '#000000',
},
}SCSS
$custom: #397f17; $custom-light: #78a55e; $custom-dark: #000000;
JSON
{
"hex": "#397f17",
"rgb": {
"r": 57,
"g": 127,
"b": 23
},
"hsl": {
"h": 100.385,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.53069,
"c": 0.15136,
"h": 137.9
},
"luminance": 0.1611
}Semantic roles & 50–950 ramp
primary
#397F17
secondary
#8D3EB4
accent
#3CECB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79