#387F15#387F15
#387F15 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.153 H 138.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #387F15 |
|---|---|
| RGB | rgb(56, 127, 21) |
| HSL | hsl(100, 72%, 29%) |
| HSV | hsv(100, 83%, 50%) |
| CMYK | cmyk(55.9%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(47.07, -41.00, 46.27) |
| CIE-LCH | lch(47.07, 61.82, 131.54°) |
| OKLab | oklab(53.02% -0.1135 0.1023) |
| OKLCH | oklch(53.02% 0.153 138) |
| XYZ | xyz(9.3553, 16.0729, 3.3187) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.34
Tree Green
#2A7E19
ΔE00 1.86
Green
#008000
ΔE00 3.46
Forestgreen (CSS)
#228B22
ΔE00 4.84
Avocado
#568203
ΔE00 5.63
Darkish Green
#287C37
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387F15 #5C157F
analogous
#6D7F15 #387F15 #157F27
triadic
#387F15 #15387F #7F1538
tetradic
#387F15 #156D7F #5C157F #7F2715
square
#387F15 #156D7F #5C157F #7F2715
split-complementary
#387F15 #27157F #7F156D
monochromatic
#0C1A04 #214A0C #387F15 #4FB41E #6ADD31
Accessibility & contrast
On white
4.98
#387F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#387F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387F15
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387F15 | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 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)
#7A6D22
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #387f15; /* rgb */ color: rgb(56, 127, 21); /* oklch */ color: oklch(53.0% 0.153 138.0);
Tailwind
colors: {
custom: {
50: '#77a55d',
500: '#387f15',
950: '#000000',
},
}SCSS
$custom: #387f15; $custom-light: #77a55d; $custom-dark: #000000;
JSON
{
"hex": "#387f15",
"rgb": {
"r": 56,
"g": 127,
"b": 21
},
"hsl": {
"h": 100.189,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.53016,
"c": 0.15281,
"h": 138
},
"luminance": 0.16074
}Semantic roles & 50–950 ramp
primary
#387F15
secondary
#8C3CB4
accent
#39EEB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79