#387A1C#387A1C
#387A1C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.7% C 0.143 H 138.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #387A1C |
|---|---|
| RGB | rgb(56, 122, 28) |
| HSL | hsl(102, 63%, 29%) |
| HSV | hsv(102, 77%, 48%) |
| CMYK | cmyk(54.1%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(45.42, -38.54, 42.30) |
| CIE-LCH | lch(45.42, 57.23, 132.34°) |
| OKLab | oklab(51.67% -0.1065 0.0951) |
| OKLCH | oklch(51.67% 0.143 138.2) |
| XYZ | xyz(8.7997, 14.8430, 3.4997) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.06
Dark Grass Green
#388004
ΔE00 3.17
Green
#008000
ΔE00 4.23
Darkish Green
#287C37
ΔE00 5.30
Forestgreen (CSS)
#228B22
ΔE00 6.29
Avocado
#568203
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387A1C #5E1C7A
analogous
#677A1C #387A1C #1C7A2F
triadic
#387A1C #1C387A #7A1C38
tetradic
#387A1C #1C677A #5E1C7A #7A2F1C
square
#387A1C #1C677A #5E1C7A #7A2F1C
split-complementary
#387A1C #2F1C7A #7A1C67
monochromatic
#0B1906 #214811 #387A1C #4FAC27 #6AD33E
Accessibility & contrast
On white
5.29
#387A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#387A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387A1C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387A1C | 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)
#7E6F09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #387a1c; /* rgb */ color: rgb(56, 122, 28); /* oklch */ color: oklch(51.7% 0.143 138.2);
Tailwind
colors: {
custom: {
50: '#76a15f',
500: '#387a1c',
950: '#000000',
},
}SCSS
$custom: #387a1c; $custom-light: #76a15f; $custom-dark: #000000;
JSON
{
"hex": "#387a1c",
"rgb": {
"r": 56,
"g": 122,
"b": 28
},
"hsl": {
"h": 102.128,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.51667,
"c": 0.14277,
"h": 138.2
},
"luminance": 0.14844
}Semantic roles & 50–950 ramp
primary
#387A1C
secondary
#8E44AE
accent
#42E6B5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79