#397C19#397C19
#397C19 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 137.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #397C19 |
|---|---|
| RGB | rgb(57, 124, 25) |
| HSL | hsl(101, 66%, 29%) |
| HSV | hsv(101, 80%, 49%) |
| CMYK | cmyk(54%, 0%, 79.8%, 51.4%) |
| CIE-LAB | lab(46.12, -39.25, 44.08) |
| CIE-LCH | lch(46.12, 59.03, 131.68°) |
| OKLab | oklab(52.25% -0.1087 0.0983) |
| OKLCH | oklch(52.25% 0.147 137.9) |
| XYZ | xyz(9.0702, 15.3547, 3.4053) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.84
Dark Grass Green
#388004
ΔE00 2.31
Green
#008000
ΔE00 3.89
Forestgreen (CSS)
#228B22
ΔE00 5.72
Darkish Green
#287C37
ΔE00 5.79
Avocado
#568203
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C19 #5C197C
analogous
#6B7C19 #397C19 #197C2B
triadic
#397C19 #19397C #7C1939
tetradic
#397C19 #196B7C #5C197C #7C2B19
square
#397C19 #196B7C #5C197C #7C2B19
split-complementary
#397C19 #2B197C #7C196B
monochromatic
#0C1905 #22490F #397C19 #50AF23 #6CD738
Accessibility & contrast
On white
5.16
#397C19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#397C19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C19
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C19 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c19; /* rgb */ color: rgb(57, 124, 25); /* oklch */ color: oklch(52.2% 0.147 137.9);
Tailwind
colors: {
custom: {
50: '#77a25e',
500: '#397c19',
950: '#000000',
},
}SCSS
$custom: #397c19; $custom-light: #77a25e; $custom-dark: #000000;
JSON
{
"hex": "#397c19",
"rgb": {
"r": 57,
"g": 124,
"b": 25
},
"hsl": {
"h": 100.606,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.52247,
"c": 0.14656,
"h": 137.9
},
"luminance": 0.15355
}Semantic roles & 50–950 ramp
primary
#397C19
secondary
#8C40B0
accent
#3EE9B2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79