#387A1B#387A1B
#387A1B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.7% C 0.143 H 138.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #387A1B |
|---|---|
| RGB | rgb(56, 122, 27) |
| HSL | hsl(102, 64%, 29%) |
| HSV | hsv(102, 78%, 48%) |
| CMYK | cmyk(54.1%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(45.41, -38.61, 42.67) |
| CIE-LCH | lch(45.41, 57.55, 132.14°) |
| OKLab | oklab(51.66% -0.1067 0.0957) |
| OKLCH | oklch(51.66% 0.143 138.1) |
| XYZ | xyz(8.7879, 14.8383, 3.4377) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.07
Dark Grass Green
#388004
ΔE00 3.07
Green
#008000
ΔE00 4.19
Darkish Green
#287C37
ΔE00 5.42
Forestgreen (CSS)
#228B22
ΔE00 6.30
Avocado
#568203
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387A1B #5D1B7A
analogous
#687A1B #387A1B #1B7A2E
triadic
#387A1B #1B387A #7A1B38
tetradic
#387A1B #1B687A #5D1B7A #7A2E1B
square
#387A1B #1B687A #5D1B7A #7A2E1B
split-complementary
#387A1B #2E1B7A #7A1B68
monochromatic
#0C1906 #214810 #387A1B #4FAC26 #6AD43C
Accessibility & contrast
On white
5.29
#387A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#387A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387A1B
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387A1B | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #387a1b; /* rgb */ color: rgb(56, 122, 27); /* oklch */ color: oklch(51.7% 0.143 138.1);
Tailwind
colors: {
custom: {
50: '#76a15f',
500: '#387a1b',
950: '#000000',
},
}SCSS
$custom: #387a1b; $custom-light: #76a15f; $custom-dark: #000000;
JSON
{
"hex": "#387a1b",
"rgb": {
"r": 56,
"g": 122,
"b": 27
},
"hsl": {
"h": 101.684,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.51659,
"c": 0.14337,
"h": 138.1
},
"luminance": 0.14839
}Semantic roles & 50–950 ramp
primary
#387A1B
secondary
#8D43AE
accent
#41E7B4
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79