#387918#387918
#387918 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.144 H 137.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #387918 |
|---|---|
| RGB | rgb(56, 121, 24) |
| HSL | hsl(100, 67%, 28%) |
| HSV | hsv(100, 80%, 47%) |
| CMYK | cmyk(53.7%, 0%, 80.2%, 52.5%) |
| CIE-LAB | lab(45.05, -38.41, 43.40) |
| CIE-LCH | lch(45.05, 57.95, 131.51°) |
| OKLab | oklab(51.36% -0.1064 0.0968) |
| OKLCH | oklch(51.36% 0.144 137.7) |
| XYZ | xyz(8.6328, 14.5808, 3.2234) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.37
Dark Grass Green
#388004
ΔE00 3.12
Green
#008000
ΔE00 4.33
Darkish Green
#287C37
ΔE00 5.76
Forestgreen (CSS)
#228B22
ΔE00 6.67
Avocado
#568203
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#387918 #591879
analogous
#687918 #387918 #187928
triadic
#387918 #183879 #791838
tetradic
#387918 #186879 #591879 #792818
square
#387918 #186879 #591879 #792818
split-complementary
#387918 #281879 #791868
monochromatic
#0C1A05 #20460E #387918 #50AC22 #6AD735
Accessibility & contrast
On white
5.36
#387918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#387918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #387918
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##387918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##387918 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #387918; /* rgb */ color: rgb(56, 121, 24); /* oklch */ color: oklch(51.4% 0.144 137.7);
Tailwind
colors: {
custom: {
50: '#76a05d',
500: '#387918',
950: '#000000',
},
}SCSS
$custom: #387918; $custom-light: #76a05d; $custom-dark: #000000;
JSON
{
"hex": "#387918",
"rgb": {
"r": 56,
"g": 121,
"b": 24
},
"hsl": {
"h": 100.206,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.51359,
"c": 0.14382,
"h": 137.7
},
"luminance": 0.14581
}Semantic roles & 50–950 ramp
primary
#387918
secondary
#893FAE
accent
#3EEAB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79