#387B20#387B20

#387B20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.141 H 138.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#387B20
RGBrgb(56, 123, 32)
HSLhsl(104, 59%, 30%)
HSVhsv(104, 74%, 48%)
CMYKcmyk(54.5%, 0%, 74%, 51.8%)
CIE-LABlab(45.78, -38.64, 41.11)
CIE-LCHlch(45.78, 56.42, 133.22°)
OKLaboklab(51.98% -0.1065 0.0932)
OKLCHoklch(51.98% 0.141 138.8)
XYZxyz(8.9742, 15.1103, 3.8099)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B20 #63207B
analogous
#657B20 #387B20 #207B35
triadic
#387B20 #20387B #7B2038
tetradic
#387B20 #20657B #63207B #7B3520
square
#387B20 #20657B #63207B #7B3520
split-complementary
#387B20 #35207B #7B2065
monochromatic
#0C1A07 #224A13 #387B20 #4EAC2D #6ACF46

Accessibility & contrast

On white

5.22
#387B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#387B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B20
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B20#FFFFFF#000000##FFFFFF
##387B201.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#327769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b20;
/* rgb */ color: rgb(56, 123, 32);
/* oklch */ color: oklch(52.0% 0.141 138.8);
Tailwind
colors: {
  custom: {
    50: '#76a261',
    500: '#387b20',
    950: '#000000',
  },
}
SCSS
$custom: #387b20;
$custom-light: #76a261;
$custom-dark: #000000;
JSON
{
  "hex": "#387b20",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 104.176,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.14149,
    "h": 138.8
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#387B20
secondary
#9349AE
accent
#46E2B9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387B20

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

Preview Lab → · Contrast checker → · Palette generator →

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