#387A1A#387A1A
#387A1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.7% C 0.144 H 138.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #387A1A |
|---|---|
| RGB | rgb(56, 122, 26) |
| HSL | hsl(101, 65%, 29%) |
| HSV | hsv(101, 79%, 48%) |
| CMYK | cmyk(54.1%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(45.41, -38.68, 43.03) |
| CIE-LCH | lch(45.41, 57.86, 131.96°) |
| OKLab | oklab(51.65% -0.107 0.0963) |
| OKLCH | oklch(51.65% 0.144 138) |
| XYZ | xyz(8.7766, 14.8337, 3.3778) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.08
Dark Grass Green
#388004
ΔE00 2.98
Green
#008000
ΔE00 4.17
Darkish Green
#287C37
ΔE00 5.53
Forestgreen (CSS)
#228B22
ΔE00 6.31
Avocado
#568203
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387A1A #5C1A7A
analogous
#687A1A #387A1A #1A7A2C
triadic
#387A1A #1A387A #7A1A38
tetradic
#387A1A #1A687A #5C1A7A #7A2C1A
square
#387A1A #1A687A #5C1A7A #7A2C1A
split-complementary
#387A1A #2C1A7A #7A1A68
monochromatic
#0C1905 #21480F #387A1A #4FAC25 #6AD539
Accessibility & contrast
On white
5.29
#387A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#387A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387A1A
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387A1A | 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)
#7E6F04
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #387a1a; /* rgb */ color: rgb(56, 122, 26); /* oklch */ color: oklch(51.7% 0.144 138.0);
Tailwind
colors: {
custom: {
50: '#76a15e',
500: '#387a1a',
950: '#000000',
},
}SCSS
$custom: #387a1a; $custom-light: #76a15e; $custom-dark: #000000;
JSON
{
"hex": "#387a1a",
"rgb": {
"r": 56,
"g": 122,
"b": 26
},
"hsl": {
"h": 101.25,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.51652,
"c": 0.14396,
"h": 138
},
"luminance": 0.14834
}Semantic roles & 50–950 ramp
primary
#387A1A
secondary
#8C41AE
accent
#40E8B3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79