#397B1A#397B1A
#397B1A is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.145 H 137.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #397B1A |
|---|---|
| RGB | rgb(57, 123, 26) |
| HSL | hsl(101, 65%, 29%) |
| HSV | hsv(101, 79%, 48%) |
| CMYK | cmyk(53.7%, 0%, 78.9%, 51.8%) |
| CIE-LAB | lab(45.78, -38.78, 43.41) |
| CIE-LCH | lch(45.78, 58.21, 131.78°) |
| OKLab | oklab(51.98% -0.1073 0.0971) |
| OKLCH | oklch(51.98% 0.145 137.9) |
| XYZ | xyz(8.9564, 15.1097, 3.4216) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.97
Dark Grass Green
#388004
ΔE00 2.67
Green
#008000
ΔE00 4.08
Darkish Green
#287C37
ΔE00 5.64
Forestgreen (CSS)
#228B22
ΔE00 6.03
Avocado
#568203
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397B1A #5C1A7B
analogous
#6A7B1A #397B1A #1A7B2C
triadic
#397B1A #1A397B #7B1A39
tetradic
#397B1A #1A6A7B #5C1A7B #7B2C1A
square
#397B1A #1A6A7B #5C1A7B #7B2C1A
split-complementary
#397B1A #2C1A7B #7B1A6A
monochromatic
#0C1905 #22480F #397B1A #50AE25 #6CD53A
Accessibility & contrast
On white
5.22
#397B1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#397B1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397B1A
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397B1A | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#347669
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397b1a; /* rgb */ color: rgb(57, 123, 26); /* oklch */ color: oklch(52.0% 0.145 137.9);
Tailwind
colors: {
custom: {
50: '#77a25e',
500: '#397b1a',
950: '#000000',
},
}SCSS
$custom: #397b1a; $custom-light: #77a25e; $custom-dark: #000000;
JSON
{
"hex": "#397b1a",
"rgb": {
"r": 57,
"g": 123,
"b": 26
},
"hsl": {
"h": 100.825,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.51975,
"c": 0.14473,
"h": 137.9
},
"luminance": 0.1511
}Semantic roles & 50–950 ramp
primary
#397B1A
secondary
#8C42AF
accent
#40E8B2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79