#387B1A#387B1A
#387B1A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.145 H 138.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #387B1A |
|---|---|
| RGB | rgb(56, 123, 26) |
| HSL | hsl(101, 65%, 29%) |
| HSV | hsv(101, 79%, 48%) |
| CMYK | cmyk(54.5%, 0%, 78.9%, 51.8%) |
| CIE-LAB | lab(45.74, -39.09, 43.36) |
| CIE-LCH | lch(45.74, 58.38, 132.04°) |
| OKLab | oklab(51.93% -0.1081 0.097) |
| OKLCH | oklch(51.93% 0.145 138.1) |
| XYZ | xyz(8.9000, 15.0806, 3.4189) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.86
Dark Grass Green
#388004
ΔE00 2.70
Green
#008000
ΔE00 3.98
Darkish Green
#287C37
ΔE00 5.55
Forestgreen (CSS)
#228B22
ΔE00 5.98
Avocado
#568203
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387B1A #5D1A7B
analogous
#697B1A #387B1A #1A7B2C
triadic
#387B1A #1A387B #7B1A38
tetradic
#387B1A #1A697B #5D1A7B #7B2C1A
square
#387B1A #1A697B #5D1A7B #7B2C1A
split-complementary
#387B1A #2C1A7B #7B1A69
monochromatic
#0C1905 #21480F #387B1A #4FAE25 #6AD53A
Accessibility & contrast
On white
5.23
#387B1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#387B1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387B1A
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387B1A | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #387b1a; /* rgb */ color: rgb(56, 123, 26); /* oklch */ color: oklch(51.9% 0.145 138.1);
Tailwind
colors: {
custom: {
50: '#76a25e',
500: '#387b1a',
950: '#000000',
},
}SCSS
$custom: #387b1a; $custom-light: #76a25e; $custom-dark: #000000;
JSON
{
"hex": "#387b1a",
"rgb": {
"r": 56,
"g": 123,
"b": 26
},
"hsl": {
"h": 101.443,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.51931,
"c": 0.14523,
"h": 138.1
},
"luminance": 0.15081
}Semantic roles & 50–950 ramp
primary
#387B1A
secondary
#8D42AF
accent
#40E8B4
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79