#387D20#387D20

#387D20 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.144 H 138.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#387D20
RGBrgb(56, 125, 32)
HSLhsl(105, 59%, 31%)
HSVhsv(105, 74%, 49%)
CMYKcmyk(55.2%, 0%, 74.4%, 51%)
CIE-LABlab(46.46, -39.45, 41.80)
CIE-LCHlch(46.46, 57.48, 133.34°)
OKLaboklab(52.53% -0.1087 0.0946)
OKLCHoklch(52.53% 0.144 138.9)
XYZxyz(9.2249, 15.6115, 3.8934)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D20 #65207D
analogous
#667D20 #387D20 #207D36
triadic
#387D20 #20387D #7D2038
tetradic
#387D20 #20667D #65207D #7D3620
square
#387D20 #20667D #65207D #7D3620
split-complementary
#387D20 #36207D #7D2066
monochromatic
#0C1C07 #224C14 #387D20 #4EAE2C #6BD047

Accessibility & contrast

On white

5.09
#387D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#387D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D20#FFFFFF#000000##FFFFFF
##387D201.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d20;
/* rgb */ color: rgb(56, 125, 32);
/* oklch */ color: oklch(52.5% 0.144 138.9);
Tailwind
colors: {
  custom: {
    50: '#76a362',
    500: '#387d20',
    950: '#000000',
  },
}
SCSS
$custom: #387d20;
$custom-light: #76a362;
$custom-dark: #000000;
JSON
{
  "hex": "#387d20",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 104.516,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.1441,
    "h": 138.9
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#387D20
secondary
#9549B0
accent
#45E2BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387D20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#387D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva