#397F18#397F18
#397F18 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.151 H 138.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #397F18 |
|---|---|
| RGB | rgb(57, 127, 24) |
| HSL | hsl(101, 68%, 30%) |
| HSV | hsv(101, 81%, 50%) |
| CMYK | cmyk(55.1%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(47.12, -40.52, 45.38) |
| CIE-LCH | lch(47.12, 60.84, 131.76°) |
| OKLab | oklab(53.08% -0.1121 0.1009) |
| OKLCH | oklch(53.08% 0.151 138) |
| XYZ | xyz(9.4413, 16.1138, 3.4767) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.60
Tree Green
#2A7E19
ΔE00 1.82
Green
#008000
ΔE00 3.59
Forestgreen (CSS)
#228B22
ΔE00 4.80
Avocado
#568203
ΔE00 5.70
Darkish Green
#287C37
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F18 #5E187F
analogous
#6D7F18 #397F18 #187F2B
triadic
#397F18 #18397F #7F1839
tetradic
#397F18 #186D7F #5E187F #7F2B18
square
#397F18 #186D7F #5E187F #7F2B18
split-complementary
#397F18 #2B187F #7F186D
monochromatic
#0C1A05 #224C0E #397F18 #50B222 #6CD938
Accessibility & contrast
On white
4.97
#397F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#397F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F18
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F18 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#337A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f18; /* rgb */ color: rgb(57, 127, 24); /* oklch */ color: oklch(53.1% 0.151 138.0);
Tailwind
colors: {
custom: {
50: '#78a55e',
500: '#397f18',
950: '#000000',
},
}SCSS
$custom: #397f18; $custom-light: #78a55e; $custom-dark: #000000;
JSON
{
"hex": "#397f18",
"rgb": {
"r": 57,
"g": 127,
"b": 24
},
"hsl": {
"h": 100.777,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.53075,
"c": 0.15085,
"h": 138
},
"luminance": 0.16115
}Semantic roles & 50–950 ramp
primary
#397F18
secondary
#8E3FB3
accent
#3DEBB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79