#387E18#387E18
#387E18 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.150 H 138.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #387E18 |
|---|---|
| RGB | rgb(56, 126, 24) |
| HSL | hsl(101, 68%, 29%) |
| HSV | hsv(101, 81%, 49%) |
| CMYK | cmyk(55.6%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(46.75, -40.42, 45.01) |
| CIE-LCH | lch(46.75, 60.50, 131.93°) |
| OKLab | oklab(52.76% -0.1118 0.1002) |
| OKLCH | oklch(52.76% 0.15 138.1) |
| XYZ | xyz(9.2563, 15.8277, 3.4313) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.64
Dark Grass Green
#388004
ΔE00 1.80
Green
#008000
ΔE00 3.54
Forestgreen (CSS)
#228B22
ΔE00 5.05
Avocado
#568203
ΔE00 5.93
Darkish Green
#287C37
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387E18 #5E187E
analogous
#6B7E18 #387E18 #187E2B
triadic
#387E18 #18387E #7E1838
tetradic
#387E18 #186B7E #5E187E #7E2B18
square
#387E18 #186B7E #5E187E #7E2B18
split-complementary
#387E18 #2B187E #7E186B
monochromatic
#0B1A05 #214B0E #387E18 #4FB122 #6AD937
Accessibility & contrast
On white
5.04
#387E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#387E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387E18
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387E18 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #387e18; /* rgb */ color: rgb(56, 126, 24); /* oklch */ color: oklch(52.8% 0.150 138.1);
Tailwind
colors: {
custom: {
50: '#77a45e',
500: '#387e18',
950: '#000000',
},
}SCSS
$custom: #387e18; $custom-light: #77a45e; $custom-dark: #000000;
JSON
{
"hex": "#387e18",
"rgb": {
"r": 56,
"g": 126,
"b": 24
},
"hsl": {
"h": 101.176,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.52755,
"c": 0.1501,
"h": 138.1
},
"luminance": 0.15828
}Semantic roles & 50–950 ramp
primary
#387E18
secondary
#8E3FB2
accent
#3DEBB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79