#397A1B#397A1B
#397A1B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 137.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #397A1B |
|---|---|
| RGB | rgb(57, 122, 27) |
| HSL | hsl(101, 64%, 29%) |
| HSV | hsv(101, 78%, 48%) |
| CMYK | cmyk(53.3%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(45.45, -38.30, 42.72) |
| CIE-LCH | lch(45.45, 57.38, 131.88°) |
| OKLab | oklab(51.7% -0.106 0.0958) |
| OKLCH | oklch(51.7% 0.143 137.9) |
| XYZ | xyz(8.8444, 14.8674, 3.4403) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 3.04
Green
#008000
ΔE00 4.29
Darkish Green
#287C37
ΔE00 5.50
Forestgreen (CSS)
#228B22
ΔE00 6.34
Avocado
#568203
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397A1B #5C1B7A
analogous
#697A1B #397A1B #1B7A2D
triadic
#397A1B #1B397A #7A1B39
tetradic
#397A1B #1B697A #5C1B7A #7A2D1B
square
#397A1B #1B697A #5C1B7A #7A2D1B
split-complementary
#397A1B #2D1B7A #7A1B69
monochromatic
#0C1906 #224810 #397A1B #50AC26 #6CD43C
Accessibility & contrast
On white
5.28
#397A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#397A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397A1B
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397A1B | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397a1b; /* rgb */ color: rgb(57, 122, 27); /* oklch */ color: oklch(51.7% 0.143 137.9);
Tailwind
colors: {
custom: {
50: '#77a15f',
500: '#397a1b',
950: '#000000',
},
}SCSS
$custom: #397a1b; $custom-light: #77a15f; $custom-dark: #000000;
JSON
{
"hex": "#397a1b",
"rgb": {
"r": 57,
"g": 122,
"b": 27
},
"hsl": {
"h": 101.053,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.51704,
"c": 0.14287,
"h": 137.9
},
"luminance": 0.14868
}Semantic roles & 50–950 ramp
primary
#397A1B
secondary
#8C43AE
accent
#41E7B2
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79