#387F2B#387F2B

#387F2B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.139 H 140.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#387F2B
RGBrgb(56, 127, 43)
HSLhsl(111, 49%, 33%)
HSVhsv(111, 66%, 50%)
CMYKcmyk(55.9%, 0%, 66.1%, 50.2%)
CIE-LABlab(47.23, -39.23, 37.86)
CIE-LCHlch(47.23, 54.52, 136.01°)
OKLaboklab(53.2% -0.1073 0.0878)
OKLCHoklch(53.2% 0.139 140.7)
XYZxyz(9.6559, 16.1931, 4.9018)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F2B #722B7F
analogous
#627F2B #387F2B #2B7F48
triadic
#387F2B #2B387F #7F2B38
tetradic
#387F2B #2B627F #722B7F #7F482B
square
#387F2B #2B627F #722B7F #7F482B
split-complementary
#387F2B #482B7F #7F2B62
monochromatic
#10240C #24511C #387F2B #4CAD3A #6DC85C

Accessibility & contrast

On white

4.95
#387F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#387F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F2B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F2B#FFFFFF#000000##FFFFFF
##387F2B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#307B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f2b;
/* rgb */ color: rgb(56, 127, 43);
/* oklch */ color: oklch(53.2% 0.139 140.7);
Tailwind
colors: {
  custom: {
    50: '#76a568',
    500: '#387f2b',
    950: '#000000',
  },
}
SCSS
$custom: #387f2b;
$custom-light: #76a568;
$custom-dark: #000000;
JSON
{
  "hex": "#387f2b",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 110.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53195,
    "c": 0.13867,
    "h": 140.7
  },
  "luminance": 0.16194
}

Semantic roles & 50–950 ramp

primary
#387F2B
secondary
#A158AE
accent
#4FD9C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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