#397E1F#397E1F
#397E1F is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.146 H 138.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E1F |
|---|---|
| RGB | rgb(57, 126, 31) |
| HSL | hsl(104, 61%, 31%) |
| HSV | hsv(104, 75%, 49%) |
| CMYK | cmyk(54.8%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(46.83, -39.63, 42.58) |
| CIE-LCH | lch(46.83, 58.17, 132.95°) |
| OKLab | oklab(52.85% -0.1093 0.0961) |
| OKLCH | oklch(52.85% 0.146 138.7) |
| XYZ | xyz(9.3952, 15.8898, 3.8680) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.59
Dark Grass Green
#388004
ΔE00 2.55
Green
#008000
ΔE00 3.84
Forestgreen (CSS)
#228B22
ΔE00 4.97
Darkish Green
#287C37
ΔE00 5.24
Avocado
#568203
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E1F #641F7E
analogous
#687E1F #397E1F #1F7E34
triadic
#397E1F #1F397E #7E1F39
tetradic
#397E1F #1F687E #641F7E #7E341F
square
#397E1F #1F687E #641F7E #7E341F
split-complementary
#397E1F #341F7E #7E1F68
monochromatic
#0D1C07 #234D13 #397E1F #4FAF2B #6CD146
Accessibility & contrast
On white
5.03
#397E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#397E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E1F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E1F | 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)
#82730E
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e1f; /* rgb */ color: rgb(57, 126, 31); /* oklch */ color: oklch(52.8% 0.146 138.7);
Tailwind
colors: {
custom: {
50: '#77a461',
500: '#397e1f',
950: '#000000',
},
}SCSS
$custom: #397e1f; $custom-light: #77a461; $custom-dark: #000000;
JSON
{
"hex": "#397e1f",
"rgb": {
"r": 57,
"g": 126,
"b": 31
},
"hsl": {
"h": 103.579,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.52847,
"c": 0.14555,
"h": 138.7
},
"luminance": 0.1589
}Semantic roles & 50–950 ramp
primary
#397E1F
secondary
#9448B1
accent
#44E4B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A