#387B1B#387B1B
#387B1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.145 H 138.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #387B1B |
|---|---|
| RGB | rgb(56, 123, 27) |
| HSL | hsl(102, 64%, 29%) |
| HSV | hsv(102, 78%, 48%) |
| CMYK | cmyk(54.5%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(45.75, -39.02, 43.00) |
| CIE-LCH | lch(45.75, 58.07, 132.22°) |
| OKLab | oklab(51.94% -0.1078 0.0964) |
| OKLCH | oklch(51.94% 0.145 138.2) |
| XYZ | xyz(8.9114, 15.0851, 3.4788) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.84
Dark Grass Green
#388004
ΔE00 2.80
Green
#008000
ΔE00 4.00
Darkish Green
#287C37
ΔE00 5.43
Forestgreen (CSS)
#228B22
ΔE00 5.97
Avocado
#568203
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387B1B #5E1B7B
analogous
#687B1B #387B1B #1B7B2E
triadic
#387B1B #1B387B #7B1B38
tetradic
#387B1B #1B687B #5E1B7B #7B2E1B
square
#387B1B #1B687B #5E1B7B #7B2E1B
split-complementary
#387B1B #2E1B7B #7B1B68
monochromatic
#0B1906 #214910 #387B1B #4FAD26 #6AD43C
Accessibility & contrast
On white
5.23
#387B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#387B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387B1B
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387B1B | 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)
#7F7006
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #387b1b; /* rgb */ color: rgb(56, 123, 27); /* oklch */ color: oklch(51.9% 0.145 138.2);
Tailwind
colors: {
custom: {
50: '#76a25f',
500: '#387b1b',
950: '#000000',
},
}SCSS
$custom: #387b1b; $custom-light: #76a25f; $custom-dark: #000000;
JSON
{
"hex": "#387b1b",
"rgb": {
"r": 56,
"g": 123,
"b": 27
},
"hsl": {
"h": 101.875,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.51938,
"c": 0.14465,
"h": 138.2
},
"luminance": 0.15086
}Semantic roles & 50–950 ramp
primary
#387B1B
secondary
#8E43AF
accent
#41E7B5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79