#397A1C#397A1C
#397A1C is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.142 H 138.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #397A1C |
|---|---|
| RGB | rgb(57, 122, 28) |
| HSL | hsl(101, 63%, 29%) |
| HSV | hsv(101, 77%, 48%) |
| CMYK | cmyk(53.3%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(45.46, -38.23, 42.36) |
| CIE-LCH | lch(45.46, 57.06, 132.07°) |
| OKLab | oklab(51.71% -0.1057 0.0952) |
| OKLCH | oklch(51.71% 0.142 138) |
| XYZ | xyz(8.8562, 14.8721, 3.5023) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.16
Dark Grass Green
#388004
ΔE00 3.13
Green
#008000
ΔE00 4.32
Darkish Green
#287C37
ΔE00 5.38
Forestgreen (CSS)
#228B22
ΔE00 6.33
Avocado
#568203
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397A1C #5D1C7A
analogous
#687A1C #397A1C #1C7A2E
triadic
#397A1C #1C397A #7A1C39
tetradic
#397A1C #1C687A #5D1C7A #7A2E1C
square
#397A1C #1C687A #5D1C7A #7A2E1C
split-complementary
#397A1C #2E1C7A #7A1C68
monochromatic
#0C1906 #224811 #397A1C #50AC27 #6CD33E
Accessibility & contrast
On white
5.28
#397A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#397A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397A1C
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397A1C | 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)
#7E6F09
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397a1c; /* rgb */ color: rgb(57, 122, 28); /* oklch */ color: oklch(51.7% 0.142 138.0);
Tailwind
colors: {
custom: {
50: '#77a15f',
500: '#397a1c',
950: '#000000',
},
}SCSS
$custom: #397a1c; $custom-light: #77a15f; $custom-dark: #000000;
JSON
{
"hex": "#397a1c",
"rgb": {
"r": 57,
"g": 122,
"b": 28
},
"hsl": {
"h": 101.489,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.51711,
"c": 0.14227,
"h": 138
},
"luminance": 0.14873
}Semantic roles & 50–950 ramp
primary
#397A1C
secondary
#8D44AE
accent
#42E6B3
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79