#397A1A#397A1A
#397A1A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 137.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #397A1A |
|---|---|
| RGB | rgb(57, 122, 26) |
| HSL | hsl(101, 65%, 29%) |
| HSV | hsv(101, 79%, 48%) |
| CMYK | cmyk(53.3%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(45.45, -38.37, 43.08) |
| CIE-LCH | lch(45.45, 57.69, 131.69°) |
| OKLab | oklab(51.7% -0.1062 0.0964) |
| OKLCH | oklch(51.7% 0.143 137.8) |
| XYZ | xyz(8.8330, 14.8628, 3.3804) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.18
Dark Grass Green
#388004
ΔE00 2.95
Green
#008000
ΔE00 4.26
Darkish Green
#287C37
ΔE00 5.62
Forestgreen (CSS)
#228B22
ΔE00 6.36
Avocado
#568203
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397A1A #5B1A7A
analogous
#697A1A #397A1A #1A7A2B
triadic
#397A1A #1A397A #7A1A39
tetradic
#397A1A #1A697A #5B1A7A #7A2B1A
square
#397A1A #1A697A #5B1A7A #7A2B1A
split-complementary
#397A1A #2B1A7A #7A1A69
monochromatic
#0C1905 #21480F #397A1A #51AC25 #6CD539
Accessibility & contrast
On white
5.29
#397A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#397A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397A1A
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397A1A | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#347568
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397a1a; /* rgb */ color: rgb(57, 122, 26); /* oklch */ color: oklch(51.7% 0.143 137.8);
Tailwind
colors: {
custom: {
50: '#77a15e',
500: '#397a1a',
950: '#000000',
},
}SCSS
$custom: #397a1a; $custom-light: #77a15e; $custom-dark: #000000;
JSON
{
"hex": "#397a1a",
"rgb": {
"r": 57,
"g": 122,
"b": 26
},
"hsl": {
"h": 100.625,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.51697,
"c": 0.14346,
"h": 137.8
},
"luminance": 0.14864
}Semantic roles & 50–950 ramp
primary
#397A1A
secondary
#8B41AE
accent
#40E8B2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79