#388315#388315
#388315 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.158 H 138.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #388315 |
|---|---|
| RGB | rgb(56, 131, 21) |
| HSL | hsl(101, 72%, 30%) |
| HSV | hsv(101, 84%, 51%) |
| CMYK | cmyk(57.3%, 0%, 84%, 48.6%) |
| CIE-LAB | lab(48.42, -42.56, 47.51) |
| CIE-LCH | lch(48.42, 63.78, 131.85°) |
| OKLab | oklab(54.13% -0.1177 0.1049) |
| OKLCH | oklch(54.13% 0.158 138.3) |
| XYZ | xyz(9.8822, 17.1267, 3.4943) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.54
Tree Green
#2A7E19
ΔE00 2.63
Green
#008000
ΔE00 3.60
Forestgreen (CSS)
#228B22
ΔE00 3.73
Emerald Green
#028F1E
ΔE00 5.20
Avocado
#568203
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#388315 #601583
analogous
#6F8315 #388315 #158329
triadic
#388315 #153883 #831538
tetradic
#388315 #156F83 #601583 #832915
square
#388315 #156F83 #601583 #832915
split-complementary
#388315 #291583 #83156F
monochromatic
#0B1A04 #214E0D #388315 #4FB81D #6ADE34
Accessibility & contrast
On white
4.75
#388315 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#388315 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #388315
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##388315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##388315 | 1.00 | 4.75 | 4.43 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#317E6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #388315; /* rgb */ color: rgb(56, 131, 21); /* oklch */ color: oklch(54.1% 0.158 138.3);
Tailwind
colors: {
custom: {
50: '#78a85d',
500: '#388315',
950: '#000000',
},
}SCSS
$custom: #388315; $custom-light: #78a85d; $custom-dark: #000000;
JSON
{
"hex": "#388315",
"rgb": {
"r": 56,
"g": 131,
"b": 21
},
"hsl": {
"h": 100.909,
"s": 72.368,
"l": 29.804
},
"oklch": {
"l": 0.54129,
"c": 0.15768,
"h": 138.3
},
"luminance": 0.17127
}Semantic roles & 50–950 ramp
primary
#388315
secondary
#903CB8
accent
#39EFB5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79