#387D21#387D21

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

Color values

HEX#387D21
RGBrgb(56, 125, 33)
HSLhsl(105, 58%, 31%)
HSVhsv(105, 74%, 49%)
CMYKcmyk(55.2%, 0%, 73.6%, 51%)
CIE-LABlab(46.47, -39.37, 41.41)
CIE-LCHlch(46.47, 57.13, 133.55°)
OKLaboklab(52.54% -0.1084 0.094)
OKLCHoklch(52.54% 0.143 139.1)
XYZxyz(9.2387, 15.6171, 3.9661)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D21 #66217D
analogous
#667D21 #387D21 #217D38
triadic
#387D21 #21387D #7D2138
tetradic
#387D21 #21667D #66217D #7D3821
square
#387D21 #21667D #66217D #7D3821
split-complementary
#387D21 #38217D #7D2166
monochromatic
#0D1C07 #224D14 #387D21 #4EAD2E #6BCF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387D21#FFFFFF#000000##FFFFFF
##387D211.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)
#817212
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#31796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d21;
/* rgb */ color: rgb(56, 125, 33);
/* oklch */ color: oklch(52.5% 0.143 139.1);
Tailwind
colors: {
  custom: {
    50: '#76a362',
    500: '#387d21',
    950: '#000000',
  },
}
SCSS
$custom: #387d21;
$custom-light: #76a362;
$custom-dark: #000000;
JSON
{
  "hex": "#387d21",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 105,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.14342,
    "h": 139.1
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#387D21
secondary
#964AB0
accent
#46E1BB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #387D21

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

Preview Lab → · Contrast checker → · Palette generator →

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