#397F1A#397F1A
#397F1A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.150 H 138.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F1A |
|---|---|
| RGB | rgb(57, 127, 26) |
| HSL | hsl(102, 66%, 30%) |
| HSV | hsv(102, 80%, 50%) |
| CMYK | cmyk(55.1%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(47.13, -40.39, 44.72) |
| CIE-LCH | lch(47.13, 60.26, 132.09°) |
| OKLab | oklab(53.09% -0.1117 0.0998) |
| OKLCH | oklch(53.09% 0.15 138.2) |
| XYZ | xyz(9.4628, 16.1224, 3.5904) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.73
Dark Grass Green
#388004
ΔE00 1.82
Green
#008000
ΔE00 3.62
Forestgreen (CSS)
#228B22
ΔE00 4.75
Avocado
#568203
ΔE00 5.84
Darkish Green
#287C37
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F1A #601A7F
analogous
#6C7F1A #397F1A #1A7F2D
triadic
#397F1A #1A397F #7F1A39
tetradic
#397F1A #1A6C7F #601A7F #7F2D1A
square
#397F1A #1A6C7F #601A7F #7F2D1A
split-complementary
#397F1A #2D1A7F #7F1A6C
monochromatic
#0B1905 #224C10 #397F1A #50B224 #6CD73C
Accessibility & contrast
On white
4.97
#397F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#397F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F1A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F1A | 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)
#837302
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f1a; /* rgb */ color: rgb(57, 127, 26); /* oklch */ color: oklch(53.1% 0.150 138.2);
Tailwind
colors: {
custom: {
50: '#78a55f',
500: '#397f1a',
950: '#000000',
},
}SCSS
$custom: #397f1a; $custom-light: #78a55f; $custom-dark: #000000;
JSON
{
"hex": "#397f1a",
"rgb": {
"r": 57,
"g": 127,
"b": 26
},
"hsl": {
"h": 101.584,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.53088,
"c": 0.14978,
"h": 138.2
},
"luminance": 0.16123
}Semantic roles & 50–950 ramp
primary
#397F1A
secondary
#9042B3
accent
#3FE9B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79