#397A1E#397A1E
#397A1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.141 H 138.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #397A1E |
|---|---|
| RGB | rgb(57, 122, 30) |
| HSL | hsl(102, 61%, 30%) |
| HSV | hsv(102, 75%, 48%) |
| CMYK | cmyk(53.3%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(45.47, -38.08, 41.60) |
| CIE-LCH | lch(45.47, 56.40, 132.47°) |
| OKLab | oklab(51.73% -0.1052 0.0939) |
| OKLCH | oklch(51.73% 0.141 138.2) |
| XYZ | xyz(8.8809, 14.8820, 3.6326) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 3.33
Green
#008000
ΔE00 4.40
Darkish Green
#287C37
ΔE00 5.14
Forestgreen (CSS)
#228B22
ΔE00 6.32
Avocado
#568203
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397A1E #5F1E7A
analogous
#677A1E #397A1E #1E7A31
triadic
#397A1E #1E397A #7A1E39
tetradic
#397A1E #1E677A #5F1E7A #7A311E
square
#397A1E #1E677A #5F1E7A #7A311E
split-complementary
#397A1E #311E7A #7A1E67
monochromatic
#0B1906 #224912 #397A1E #50AB2A #6CD042
Accessibility & contrast
On white
5.28
#397A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#397A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397A1E
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397A1E | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397a1e; /* rgb */ color: rgb(57, 122, 30); /* oklch */ color: oklch(51.7% 0.141 138.2);
Tailwind
colors: {
custom: {
50: '#76a160',
500: '#397a1e',
950: '#000000',
},
}SCSS
$custom: #397a1e; $custom-light: #76a160; $custom-dark: #000000;
JSON
{
"hex": "#397a1e",
"rgb": {
"r": 57,
"g": 122,
"b": 30
},
"hsl": {
"h": 102.391,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.51727,
"c": 0.141,
"h": 138.2
},
"luminance": 0.14883
}Semantic roles & 50–950 ramp
primary
#397A1E
secondary
#8F46AE
accent
#44E4B5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79