#387E20#387E20

#387E20 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.145 H 139.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#387E20
RGBrgb(56, 126, 32)
HSLhsl(105, 59%, 31%)
HSVhsv(105, 75%, 49%)
CMYKcmyk(55.6%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.80, -39.85, 42.14)
CIE-LCHlch(46.80, 58.00, 133.40°)
OKLaboklab(52.81% -0.1097 0.0954)
OKLCHoklch(52.81% 0.145 139)
XYZxyz(9.3521, 15.8660, 3.9358)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E20 #66207E
analogous
#677E20 #387E20 #207E37
triadic
#387E20 #20387E #7E2038
tetradic
#387E20 #20677E #66207E #7E3720
square
#387E20 #20677E #66207E #7E3720
split-complementary
#387E20 #37207E #7E2067
monochromatic
#0D1C07 #224D14 #387E20 #4EAF2C #6BD048

Accessibility & contrast

On white

5.03
#387E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#387E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E20
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E20#FFFFFF#000000##FFFFFF
##387E201.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827310
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#317A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e20;
/* rgb */ color: rgb(56, 126, 32);
/* oklch */ color: oklch(52.8% 0.145 139.0);
Tailwind
colors: {
  custom: {
    50: '#76a462',
    500: '#387e20',
    950: '#000000',
  },
}
SCSS
$custom: #387e20;
$custom-light: #76a462;
$custom-dark: #000000;
JSON
{
  "hex": "#387e20",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 104.681,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.14539,
    "h": 139
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#387E20
secondary
#9649B1
accent
#45E3BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387E20

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

Preview Lab → · Contrast checker → · Palette generator →

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