#387F16#387F16
#387F16 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.152 H 138.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #387F16 |
|---|---|
| RGB | rgb(56, 127, 22) |
| HSL | hsl(101, 70%, 29%) |
| HSV | hsv(101, 83%, 50%) |
| CMYK | cmyk(55.9%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(47.08, -40.94, 45.97) |
| CIE-LCH | lch(47.08, 61.55, 131.69°) |
| OKLab | oklab(53.02% -0.1133 0.1018) |
| OKLCH | oklch(53.02% 0.152 138.1) |
| XYZ | xyz(9.3647, 16.0767, 3.3685) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.44
Tree Green
#2A7E19
ΔE00 1.80
Green
#008000
ΔE00 3.46
Forestgreen (CSS)
#228B22
ΔE00 4.80
Avocado
#568203
ΔE00 5.69
Darkish Green
#287C37
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387F16 #5D167F
analogous
#6D7F16 #387F16 #167F28
triadic
#387F16 #16387F #7F1638
tetradic
#387F16 #166D7F #5D167F #7F2816
square
#387F16 #166D7F #5D167F #7F2816
split-complementary
#387F16 #28167F #7F166D
monochromatic
#0C1A05 #214B0D #387F16 #4FB31F #6ADC34
Accessibility & contrast
On white
4.98
#387F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#387F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387F16
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387F16 | 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)
#7A6D23
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #387f16; /* rgb */ color: rgb(56, 127, 22); /* oklch */ color: oklch(53.0% 0.152 138.1);
Tailwind
colors: {
custom: {
50: '#77a55d',
500: '#387f16',
950: '#000000',
},
}SCSS
$custom: #387f16; $custom-light: #77a55d; $custom-dark: #000000;
JSON
{
"hex": "#387f16",
"rgb": {
"r": 56,
"g": 127,
"b": 22
},
"hsl": {
"h": 100.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.53021,
"c": 0.15234,
"h": 138.1
},
"luminance": 0.16077
}Semantic roles & 50–950 ramp
primary
#387F16
secondary
#8D3DB4
accent
#3BEDB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79