#397E18#397E18
#397E18 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.150 H 137.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E18 |
|---|---|
| RGB | rgb(57, 126, 24) |
| HSL | hsl(101, 68%, 29%) |
| HSV | hsv(101, 81%, 49%) |
| CMYK | cmyk(54.8%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(46.79, -40.12, 45.06) |
| CIE-LCH | lch(46.79, 60.34, 131.68°) |
| OKLab | oklab(52.8% -0.1111 0.1002) |
| OKLCH | oklch(52.8% 0.15 137.9) |
| XYZ | xyz(9.3127, 15.8568, 3.4339) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.76
Tree Green
#2A7E19
ΔE00 1.77
Green
#008000
ΔE00 3.65
Forestgreen (CSS)
#228B22
ΔE00 5.11
Avocado
#568203
ΔE00 5.80
Darkish Green
#287C37
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E18 #5D187E
analogous
#6C7E18 #397E18 #187E2A
triadic
#397E18 #18397E #7E1839
tetradic
#397E18 #186C7E #5D187E #7E2A18
square
#397E18 #186C7E #5D187E #7E2A18
split-complementary
#397E18 #2A187E #7E186C
monochromatic
#0C1A05 #224B0E #397E18 #50B122 #6CD937
Accessibility & contrast
On white
5.03
#397E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#397E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E18
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E18 | 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)
#827200
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e18; /* rgb */ color: rgb(57, 126, 24); /* oklch */ color: oklch(52.8% 0.150 137.9);
Tailwind
colors: {
custom: {
50: '#77a45e',
500: '#397e18',
950: '#000000',
},
}SCSS
$custom: #397e18; $custom-light: #77a45e; $custom-dark: #000000;
JSON
{
"hex": "#397e18",
"rgb": {
"r": 57,
"g": 126,
"b": 24
},
"hsl": {
"h": 100.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.52797,
"c": 0.14961,
"h": 137.9
},
"luminance": 0.15858
}Semantic roles & 50–950 ramp
primary
#397E18
secondary
#8D3FB2
accent
#3DEBB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79