#387F18#387F18
#387F18 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.151 H 138.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #387F18 |
|---|---|
| RGB | rgb(56, 127, 24) |
| HSL | hsl(101, 68%, 30%) |
| HSV | hsv(101, 81%, 50%) |
| CMYK | cmyk(55.9%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(47.09, -40.82, 45.33) |
| CIE-LCH | lch(47.09, 61.00, 132.00°) |
| OKLab | oklab(53.03% -0.1129 0.1008) |
| OKLCH | oklch(53.03% 0.151 138.2) |
| XYZ | xyz(9.3848, 16.0847, 3.4741) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.65
Tree Green
#2A7E19
ΔE00 1.69
Green
#008000
ΔE00 3.48
Forestgreen (CSS)
#228B22
ΔE00 4.74
Avocado
#568203
ΔE00 5.82
Darkish Green
#287C37
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387F18 #5F187F
analogous
#6C7F18 #387F18 #187F2B
triadic
#387F18 #18387F #7F1838
tetradic
#387F18 #186C7F #5F187F #7F2B18
square
#387F18 #186C7F #5F187F #7F2B18
split-complementary
#387F18 #2B187F #7F186C
monochromatic
#0B1A05 #214C0E #387F18 #4FB222 #6AD938
Accessibility & contrast
On white
4.98
#387F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#387F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387F18
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387F18 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #387f18; /* rgb */ color: rgb(56, 127, 24); /* oklch */ color: oklch(53.0% 0.151 138.2);
Tailwind
colors: {
custom: {
50: '#77a55e',
500: '#387f18',
950: '#000000',
},
}SCSS
$custom: #387f18; $custom-light: #77a55e; $custom-dark: #000000;
JSON
{
"hex": "#387f18",
"rgb": {
"r": 56,
"g": 127,
"b": 24
},
"hsl": {
"h": 101.359,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.53033,
"c": 0.15134,
"h": 138.2
},
"luminance": 0.16085
}Semantic roles & 50–950 ramp
primary
#387F18
secondary
#8F3FB3
accent
#3DEBB5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79