#387B1F#387B1F
#387B1F is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.142 H 138.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #387B1F |
|---|---|
| RGB | rgb(56, 123, 31) |
| HSL | hsl(104, 60%, 30%) |
| HSV | hsv(104, 75%, 48%) |
| CMYK | cmyk(54.5%, 0%, 74.8%, 51.8%) |
| CIE-LAB | lab(45.78, -38.72, 41.50) |
| CIE-LCH | lch(45.78, 56.76, 133.01°) |
| OKLab | oklab(51.97% -0.1068 0.0939) |
| OKLCH | oklch(51.97% 0.142 138.7) |
| XYZ | xyz(8.9608, 15.1049, 3.7394) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.86
Dark Grass Green
#388004
ΔE00 3.22
Green
#008000
ΔE00 4.17
Darkish Green
#287C37
ΔE00 4.94
Forestgreen (CSS)
#228B22
ΔE00 5.93
Avocado
#568203
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387B1F #621F7B
analogous
#667B1F #387B1F #1F7B34
triadic
#387B1F #1F387B #7B1F38
tetradic
#387B1F #1F667B #621F7B #7B341F
square
#387B1F #1F667B #621F7B #7B341F
split-complementary
#387B1F #341F7B #7B1F66
monochromatic
#0B1906 #224A13 #387B1F #4EAC2B #6AD044
Accessibility & contrast
On white
5.22
#387B1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#387B1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387B1F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387B1F | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #387b1f; /* rgb */ color: rgb(56, 123, 31); /* oklch */ color: oklch(52.0% 0.142 138.7);
Tailwind
colors: {
custom: {
50: '#76a261',
500: '#387b1f',
950: '#000000',
},
}SCSS
$custom: #387b1f; $custom-light: #76a261; $custom-dark: #000000;
JSON
{
"hex": "#387b1f",
"rgb": {
"r": 56,
"g": 123,
"b": 31
},
"hsl": {
"h": 103.696,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.51969,
"c": 0.14216,
"h": 138.7
},
"luminance": 0.15106
}Semantic roles & 50–950 ramp
primary
#387B1F
secondary
#9248AE
accent
#45E3B8
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79