#387E27#387E27

#387E27 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.140 H 140.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#387E27
RGBrgb(56, 126, 39)
HSLhsl(108, 53%, 32%)
HSVhsv(108, 69%, 49%)
CMYKcmyk(55.6%, 0%, 69%, 50.6%)
CIE-LABlab(46.85, -39.23, 39.27)
CIE-LCHlch(46.85, 55.50, 134.97°)
OKLaboklab(52.88% -0.1076 0.0903)
OKLCHoklch(52.88% 0.14 140)
XYZxyz(9.4575, 15.9082, 4.4913)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E27 #6D277E
analogous
#637E27 #387E27 #277E42
triadic
#387E27 #27387E #7E2738
tetradic
#387E27 #27637E #6D277E #7E4227
square
#387E27 #27637E #6D277E #7E4227
split-complementary
#387E27 #42277E #7E2763
monochromatic
#0E210A #234F19 #387E27 #4DAD35 #6CCA55

Accessibility & contrast

On white

5.02
#387E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#387E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E27
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E27#FFFFFF#000000##FFFFFF
##387E271.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#307A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e27;
/* rgb */ color: rgb(56, 126, 39);
/* oklch */ color: oklch(52.9% 0.140 140.0);
Tailwind
colors: {
  custom: {
    50: '#76a466',
    500: '#387e27',
    950: '#000000',
  },
}
SCSS
$custom: #387e27;
$custom-light: #76a466;
$custom-dark: #000000;
JSON
{
  "hex": "#387e27",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 108.276,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.14045,
    "h": 140
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#387E27
secondary
#9D52AF
accent
#4CDCC0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387E27

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

Preview Lab → · Contrast checker → · Palette generator →

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