#387E1A#387E1A
#387E1A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.149 H 138.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #387E1A |
|---|---|
| RGB | rgb(56, 126, 26) |
| HSL | hsl(102, 66%, 30%) |
| HSV | hsv(102, 79%, 49%) |
| CMYK | cmyk(55.6%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(46.76, -40.29, 44.34) |
| CIE-LCH | lch(46.76, 59.92, 132.26°) |
| OKLab | oklab(52.77% -0.1113 0.0991) |
| OKLCH | oklch(52.77% 0.149 138.3) |
| XYZ | xyz(9.2779, 15.8363, 3.5449) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.55
Dark Grass Green
#388004
ΔE00 2.01
Green
#008000
ΔE00 3.58
Forestgreen (CSS)
#228B22
ΔE00 5.01
Darkish Green
#287C37
ΔE00 5.74
Avocado
#568203
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387E1A #601A7E
analogous
#6A7E1A #387E1A #1A7E2E
triadic
#387E1A #1A387E #7E1A38
tetradic
#387E1A #1A6A7E #601A7E #7E2E1A
square
#387E1A #1A6A7E #601A7E #7E2E1A
split-complementary
#387E1A #2E1A7E #7E1A6A
monochromatic
#0B1905 #214B10 #387E1A #4FB124 #6AD73C
Accessibility & contrast
On white
5.04
#387E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#387E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387E1A
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387E1A | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #387e1a; /* rgb */ color: rgb(56, 126, 26); /* oklch */ color: oklch(52.8% 0.149 138.3);
Tailwind
colors: {
custom: {
50: '#77a45f',
500: '#387e1a',
950: '#000000',
},
}SCSS
$custom: #387e1a; $custom-light: #77a45f; $custom-dark: #000000;
JSON
{
"hex": "#387e1a",
"rgb": {
"r": 56,
"g": 126,
"b": 26
},
"hsl": {
"h": 102,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.52768,
"c": 0.14901,
"h": 138.3
},
"luminance": 0.15837
}Semantic roles & 50–950 ramp
primary
#387E1A
secondary
#9042B2
accent
#3FE9B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79