#387A20#387A20

#387A20 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.140 H 138.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#387A20
RGBrgb(56, 122, 32)
HSLhsl(104, 58%, 30%)
HSVhsv(104, 74%, 48%)
CMYKcmyk(54.1%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.45, -38.23, 40.76)
CIE-LCHlch(45.45, 55.88, 133.16°)
OKLaboklab(51.7% -0.1054 0.0925)
OKLCHoklch(51.7% 0.14 138.7)
XYZxyz(8.8508, 14.8634, 3.7688)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A20 #62207A
analogous
#657A20 #387A20 #207A35
triadic
#387A20 #20387A #7A2038
tetradic
#387A20 #20657A #62207A #7A3520
square
#387A20 #20657A #62207A #7A3520
split-complementary
#387A20 #35207A #7A2065
monochromatic
#0B1907 #224A13 #387A20 #4EAA2D #6ACE46

Accessibility & contrast

On white

5.29
#387A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#387A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A20
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A20#FFFFFF#000000##FFFFFF
##387A201.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#327668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387a20;
/* rgb */ color: rgb(56, 122, 32);
/* oklch */ color: oklch(51.7% 0.140 138.7);
Tailwind
colors: {
  custom: {
    50: '#76a161',
    500: '#387a20',
    950: '#000000',
  },
}
SCSS
$custom: #387a20;
$custom-light: #76a161;
$custom-dark: #000000;
JSON
{
  "hex": "#387a20",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 104,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.14018,
    "h": 138.7
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#387A20
secondary
#9249AD
accent
#46E2B8
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387A20

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

Preview Lab → · Contrast checker → · Palette generator →

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