#387D27#387D27

#387D27 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.139 H 140.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#387D27
RGBrgb(56, 125, 39)
HSLhsl(108, 52%, 32%)
HSVhsv(108, 69%, 49%)
CMYKcmyk(55.2%, 0%, 68.8%, 51%)
CIE-LABlab(46.52, -38.82, 38.90)
CIE-LCHlch(46.52, 54.96, 134.94°)
OKLaboklab(52.6% -0.1065 0.0895)
OKLCHoklch(52.6% 0.139 140)
XYZxyz(9.3303, 15.6537, 4.4489)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D27 #6C277D
analogous
#637D27 #387D27 #277D41
triadic
#387D27 #27387D #7D2738
tetradic
#387D27 #27637D #6C277D #7D4127
square
#387D27 #27637D #6C277D #7D4127
split-complementary
#387D27 #41277D #7D2763
monochromatic
#0E200A #234E18 #387D27 #4DAC36 #6CCA55

Accessibility & contrast

On white

5.08
#387D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#387D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D27#FFFFFF#000000##FFFFFF
##387D271.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#31796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d27;
/* rgb */ color: rgb(56, 125, 39);
/* oklch */ color: oklch(52.6% 0.139 140.0);
Tailwind
colors: {
  custom: {
    50: '#76a366',
    500: '#387d27',
    950: '#000000',
  },
}
SCSS
$custom: #387d27;
$custom-light: #76a366;
$custom-dark: #000000;
JSON
{
  "hex": "#387d27",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 108.14,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.13911,
    "h": 140
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#387D27
secondary
#9C51AF
accent
#4CDCBF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387D27

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

Preview Lab → · Contrast checker → · Palette generator →

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