#387C18#387C18
#387C18 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.148 H 138.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #387C18 |
|---|---|
| RGB | rgb(56, 124, 24) |
| HSL | hsl(101, 68%, 29%) |
| HSV | hsv(101, 81%, 49%) |
| CMYK | cmyk(54.8%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(46.07, -39.63, 44.37) |
| CIE-LCH | lch(46.07, 59.49, 131.77°) |
| OKLab | oklab(52.2% -0.1097 0.0988) |
| OKLCH | oklch(52.2% 0.148 138) |
| XYZ | xyz(9.0031, 15.3213, 3.3469) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.76
Dark Grass Green
#388004
ΔE00 2.26
Green
#008000
ΔE00 3.77
Forestgreen (CSS)
#228B22
ΔE00 5.69
Darkish Green
#287C37
ΔE00 5.81
Avocado
#568203
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387C18 #5C187C
analogous
#6A7C18 #387C18 #187C2A
triadic
#387C18 #18387C #7C1838
tetradic
#387C18 #186A7C #5C187C #7C2A18
square
#387C18 #186A7C #5C187C #7C2A18
split-complementary
#387C18 #2A187C #7C186A
monochromatic
#0C1A05 #21490E #387C18 #4FAF22 #6AD836
Accessibility & contrast
On white
5.17
#387C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#387C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387C18
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387C18 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #387c18; /* rgb */ color: rgb(56, 124, 24); /* oklch */ color: oklch(52.2% 0.148 138.0);
Tailwind
colors: {
custom: {
50: '#77a25e',
500: '#387c18',
950: '#000000',
},
}SCSS
$custom: #387c18; $custom-light: #77a25e; $custom-dark: #000000;
JSON
{
"hex": "#387c18",
"rgb": {
"r": 56,
"g": 124,
"b": 24
},
"hsl": {
"h": 100.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.52197,
"c": 0.1476,
"h": 138
},
"luminance": 0.15322
}Semantic roles & 50–950 ramp
primary
#387C18
secondary
#8C3FB1
accent
#3DEAB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79