#397F16#397F16
#397F16 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.152 H 137.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F16 |
|---|---|
| RGB | rgb(57, 127, 22) |
| HSL | hsl(100, 70%, 29%) |
| HSV | hsv(100, 83%, 50%) |
| CMYK | cmyk(55.1%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(47.11, -40.64, 46.01) |
| CIE-LCH | lch(47.11, 61.39, 131.45°) |
| OKLab | oklab(53.06% -0.1126 0.1019) |
| OKLCH | oklch(53.06% 0.152 137.8) |
| XYZ | xyz(9.4212, 16.1058, 3.3712) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.39
Tree Green
#2A7E19
ΔE00 1.93
Green
#008000
ΔE00 3.57
Forestgreen (CSS)
#228B22
ΔE00 4.86
Avocado
#568203
ΔE00 5.57
Darkish Green
#287C37
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F16 #5C167F
analogous
#6E7F16 #397F16 #167F28
triadic
#397F16 #16397F #7F1639
tetradic
#397F16 #166E7F #5C167F #7F2816
square
#397F16 #166E7F #5C167F #7F2816
split-complementary
#397F16 #28167F #7F166E
monochromatic
#0C1A05 #224B0D #397F16 #50B31F #6CDC34
Accessibility & contrast
On white
4.97
#397F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#397F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F16
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F16 | 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: #397f16; /* rgb */ color: rgb(57, 127, 22); /* oklch */ color: oklch(53.1% 0.152 137.8);
Tailwind
colors: {
custom: {
50: '#78a55d',
500: '#397f16',
950: '#000000',
},
}SCSS
$custom: #397f16; $custom-light: #78a55d; $custom-dark: #000000;
JSON
{
"hex": "#397f16",
"rgb": {
"r": 57,
"g": 127,
"b": 22
},
"hsl": {
"h": 100,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.53063,
"c": 0.15185,
"h": 137.8
},
"luminance": 0.16107
}Semantic roles & 50–950 ramp
primary
#397F16
secondary
#8C3DB4
accent
#3BEDB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79