#387C17#387C17
#387C17 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.148 H 137.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #387C17 |
|---|---|
| RGB | rgb(56, 124, 23) |
| HSL | hsl(100, 69%, 29%) |
| HSV | hsv(100, 81%, 49%) |
| CMYK | cmyk(54.8%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(46.07, -39.69, 44.70) |
| CIE-LCH | lch(46.07, 59.77, 131.60°) |
| OKLab | oklab(52.19% -0.1099 0.0993) |
| OKLCH | oklch(52.19% 0.148 137.9) |
| XYZ | xyz(8.9929, 15.3172, 3.2931) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.80
Dark Grass Green
#388004
ΔE00 2.17
Green
#008000
ΔE00 3.76
Forestgreen (CSS)
#228B22
ΔE00 5.71
Darkish Green
#287C37
ΔE00 5.92
Avocado
#568203
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387C17 #5B177C
analogous
#6B7C17 #387C17 #177C29
triadic
#387C17 #17387C #7C1738
tetradic
#387C17 #176B7C #5B177C #7C2917
square
#387C17 #176B7C #5B177C #7C2917
split-complementary
#387C17 #29177C #7C176B
monochromatic
#0C1A05 #21480D #387C17 #4FB021 #6AD934
Accessibility & contrast
On white
5.17
#387C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#387C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387C17
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387C17 | 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: #387c17; /* rgb */ color: rgb(56, 124, 23); /* oklch */ color: oklch(52.2% 0.148 137.9);
Tailwind
colors: {
custom: {
50: '#77a25d',
500: '#387c17',
950: '#000000',
},
}SCSS
$custom: #387c17; $custom-light: #77a25d; $custom-dark: #000000;
JSON
{
"hex": "#387c17",
"rgb": {
"r": 56,
"g": 124,
"b": 23
},
"hsl": {
"h": 100.396,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.52191,
"c": 0.14812,
"h": 137.9
},
"luminance": 0.15318
}Semantic roles & 50–950 ramp
primary
#387C17
secondary
#8B3EB1
accent
#3CECB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79