#387F1D#387F1D
#387F1D is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.149 H 138.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #387F1D |
|---|---|
| RGB | rgb(56, 127, 29) |
| HSL | hsl(103, 63%, 31%) |
| HSV | hsv(103, 77%, 50%) |
| CMYK | cmyk(55.9%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(47.12, -40.48, 43.61) |
| CIE-LCH | lch(47.12, 59.50, 132.87°) |
| OKLab | oklab(53.07% -0.1116 0.098) |
| OKLCH | oklch(53.07% 0.149 138.7) |
| XYZ | xyz(9.4417, 16.1074, 3.7737) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.51
Dark Grass Green
#388004
ΔE00 2.22
Green
#008000
ΔE00 3.59
Forestgreen (CSS)
#228B22
ΔE00 4.63
Darkish Green
#287C37
ΔE00 5.51
Avocado
#568203
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387F1D #641D7F
analogous
#697F1D #387F1D #1D7F33
triadic
#387F1D #1D387F #7F1D38
tetradic
#387F1D #1D697F #641D7F #7F331D
square
#387F1D #1D697F #641D7F #7F331D
split-complementary
#387F1D #331D7F #7F1D69
monochromatic
#0C1B06 #224D12 #387F1D #4EB128 #6BD442
Accessibility & contrast
On white
4.97
#387F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#387F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387F1D
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387F1D | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837308
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #387f1d; /* rgb */ color: rgb(56, 127, 29); /* oklch */ color: oklch(53.1% 0.149 138.7);
Tailwind
colors: {
custom: {
50: '#77a560',
500: '#387f1d',
950: '#000000',
},
}SCSS
$custom: #387f1d; $custom-light: #77a560; $custom-dark: #000000;
JSON
{
"hex": "#387f1d",
"rgb": {
"r": 56,
"g": 127,
"b": 29
},
"hsl": {
"h": 103.469,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.53067,
"c": 0.14855,
"h": 138.7
},
"luminance": 0.16108
}Semantic roles & 50–950 ramp
primary
#387F1D
secondary
#9445B2
accent
#42E6B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79