#387D1F#387D1F
#387D1F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #387D1F |
|---|---|
| RGB | rgb(56, 125, 31) |
| HSL | hsl(104, 60%, 31%) |
| HSV | hsv(104, 75%, 49%) |
| CMYK | cmyk(55.2%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(46.45, -39.53, 42.19) |
| CIE-LCH | lch(46.45, 57.81, 133.14°) |
| OKLab | oklab(52.53% -0.1089 0.0953) |
| OKLCH | oklch(52.53% 0.145 138.8) |
| XYZ | xyz(9.2115, 15.6062, 3.8229) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.53
Dark Grass Green
#388004
ΔE00 2.78
Green
#008000
ΔE00 3.86
Darkish Green
#287C37
ΔE00 5.06
Forestgreen (CSS)
#228B22
ΔE00 5.26
Avocado
#568203
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387D1F #641F7D
analogous
#677D1F #387D1F #1F7D35
triadic
#387D1F #1F387D #7D1F38
tetradic
#387D1F #1F677D #641F7D #7D351F
square
#387D1F #1F677D #641F7D #7D351F
split-complementary
#387D1F #351F7D #7D1F67
monochromatic
#0C1B07 #224C13 #387D1F #4EAE2B #6BD145
Accessibility & contrast
On white
5.10
#387D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#387D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387D1F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387D1F | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #387d1f; /* rgb */ color: rgb(56, 125, 31); /* oklch */ color: oklch(52.5% 0.145 138.8);
Tailwind
colors: {
custom: {
50: '#76a361',
500: '#387d1f',
950: '#000000',
},
}SCSS
$custom: #387d1f; $custom-light: #76a361; $custom-dark: #000000;
JSON
{
"hex": "#387d1f",
"rgb": {
"r": 56,
"g": 125,
"b": 31
},
"hsl": {
"h": 104.043,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52526,
"c": 0.14475,
"h": 138.8
},
"luminance": 0.15607
}Semantic roles & 50–950 ramp
primary
#387D1F
secondary
#9448B0
accent
#44E3B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79