#397E1A#397E1A
#397E1A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.149 H 138.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E1A |
|---|---|
| RGB | rgb(57, 126, 26) |
| HSL | hsl(101, 66%, 30%) |
| HSV | hsv(101, 79%, 49%) |
| CMYK | cmyk(54.8%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(46.80, -39.99, 44.39) |
| CIE-LCH | lch(46.80, 59.75, 132.02°) |
| OKLab | oklab(52.81% -0.1106 0.0991) |
| OKLCH | oklch(52.81% 0.149 138.1) |
| XYZ | xyz(9.3343, 15.8654, 3.5475) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.68
Dark Grass Green
#388004
ΔE00 1.97
Green
#008000
ΔE00 3.68
Forestgreen (CSS)
#228B22
ΔE00 5.06
Darkish Green
#287C37
ΔE00 5.82
Avocado
#568203
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E1A #5F1A7E
analogous
#6B7E1A #397E1A #1A7E2D
triadic
#397E1A #1A397E #7E1A39
tetradic
#397E1A #1A6B7E #5F1A7E #7E2D1A
square
#397E1A #1A6B7E #5F1A7E #7E2D1A
split-complementary
#397E1A #2D1A7E #7E1A6B
monochromatic
#0B1905 #224B10 #397E1A #50B124 #6CD73C
Accessibility & contrast
On white
5.03
#397E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#397E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E1A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E1A | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e1a; /* rgb */ color: rgb(57, 126, 26); /* oklch */ color: oklch(52.8% 0.149 138.1);
Tailwind
colors: {
custom: {
50: '#77a45f',
500: '#397e1a',
950: '#000000',
},
}SCSS
$custom: #397e1a; $custom-light: #77a45f; $custom-dark: #000000;
JSON
{
"hex": "#397e1a",
"rgb": {
"r": 57,
"g": 126,
"b": 26
},
"hsl": {
"h": 101.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.5281,
"c": 0.14852,
"h": 138.1
},
"luminance": 0.15866
}Semantic roles & 50–950 ramp
primary
#397E1A
secondary
#8F42B2
accent
#3FE9B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79