#397C18#397C18
#397C18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 137.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #397C18 |
|---|---|
| RGB | rgb(57, 124, 24) |
| HSL | hsl(100, 68%, 29%) |
| HSV | hsv(100, 81%, 49%) |
| CMYK | cmyk(54%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(46.11, -39.32, 44.42) |
| CIE-LCH | lch(46.11, 59.32, 131.51°) |
| OKLab | oklab(52.24% -0.1089 0.0989) |
| OKLCH | oklch(52.24% 0.147 137.8) |
| XYZ | xyz(9.0596, 15.3504, 3.3495) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.88
Dark Grass Green
#388004
ΔE00 2.22
Green
#008000
ΔE00 3.88
Forestgreen (CSS)
#228B22
ΔE00 5.74
Darkish Green
#287C37
ΔE00 5.90
Avocado
#568203
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C18 #5B187C
analogous
#6B7C18 #397C18 #187C29
triadic
#397C18 #18397C #7C1839
tetradic
#397C18 #186B7C #5B187C #7C2918
square
#397C18 #186B7C #5B187C #7C2918
split-complementary
#397C18 #29187C #7C186B
monochromatic
#0C1A05 #21490E #397C18 #51AF22 #6CD836
Accessibility & contrast
On white
5.16
#397C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#397C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C18
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C18 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c18; /* rgb */ color: rgb(57, 124, 24); /* oklch */ color: oklch(52.2% 0.147 137.8);
Tailwind
colors: {
custom: {
50: '#77a25e',
500: '#397c18',
950: '#000000',
},
}SCSS
$custom: #397c18; $custom-light: #77a25e; $custom-dark: #000000;
JSON
{
"hex": "#397c18",
"rgb": {
"r": 57,
"g": 124,
"b": 24
},
"hsl": {
"h": 100.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.5224,
"c": 0.1471,
"h": 137.8
},
"luminance": 0.15351
}Semantic roles & 50–950 ramp
primary
#397C18
secondary
#8B3FB1
accent
#3DEAB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79