#397E1E#397E1E
#397E1E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.146 H 138.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E1E |
|---|---|
| RGB | rgb(57, 126, 30) |
| HSL | hsl(103, 62%, 31%) |
| HSV | hsv(103, 76%, 49%) |
| CMYK | cmyk(54.8%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(46.82, -39.71, 42.96) |
| CIE-LCH | lch(46.82, 58.50, 132.75°) |
| OKLab | oklab(52.84% -0.1096 0.0968) |
| OKLCH | oklch(52.84% 0.146 138.6) |
| XYZ | xyz(9.3822, 15.8846, 3.7997) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.59
Dark Grass Green
#388004
ΔE00 2.43
Green
#008000
ΔE00 3.80
Forestgreen (CSS)
#228B22
ΔE00 4.99
Darkish Green
#287C37
ΔE00 5.36
Avocado
#568203
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E1E #631E7E
analogous
#697E1E #397E1E #1E7E33
triadic
#397E1E #1E397E #7E1E39
tetradic
#397E1E #1E697E #631E7E #7E331E
square
#397E1E #1E697E #631E7E #7E331E
split-complementary
#397E1E #331E7E #7E1E69
monochromatic
#0C1B06 #234D12 #397E1E #4FAF2A #6CD244
Accessibility & contrast
On white
5.03
#397E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#397E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E1E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E1E | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#337A6B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e1e; /* rgb */ color: rgb(57, 126, 30); /* oklch */ color: oklch(52.8% 0.146 138.6);
Tailwind
colors: {
custom: {
50: '#77a461',
500: '#397e1e',
950: '#000000',
},
}SCSS
$custom: #397e1e; $custom-light: #77a461; $custom-dark: #000000;
JSON
{
"hex": "#397e1e",
"rgb": {
"r": 57,
"g": 126,
"b": 30
},
"hsl": {
"h": 103.125,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.52839,
"c": 0.14617,
"h": 138.6
},
"luminance": 0.15885
}Semantic roles & 50–950 ramp
primary
#397E1E
secondary
#9347B1
accent
#43E5B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79