#387F2A#387F2A

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

Color values

HEX#387F2A
RGBrgb(56, 127, 42)
HSLhsl(110, 50%, 33%)
HSVhsv(110, 67%, 50%)
CMYKcmyk(55.9%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.22, -39.33, 38.31)
CIE-LCHlch(47.22, 54.91, 135.75°)
OKLaboklab(53.18% -0.1077 0.0886)
OKLCHoklch(53.18% 0.139 140.5)
XYZxyz(9.6377, 16.1859, 4.8064)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F2A #712A7F
analogous
#627F2A #387F2A #2A7F46
triadic
#387F2A #2A387F #7F2A38
tetradic
#387F2A #2A627F #712A7F #7F462A
square
#387F2A #2A627F #712A7F #7F462A
split-complementary
#387F2A #462A7F #7F2A62
monochromatic
#0F230C #24511B #387F2A #4CAD39 #6DC95B

Accessibility & contrast

On white

4.96
#387F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387F2A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F2A#FFFFFF#000000##FFFFFF
##387F2A1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741F
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#307B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f2a;
/* rgb */ color: rgb(56, 127, 42);
/* oklch */ color: oklch(53.2% 0.139 140.5);
Tailwind
colors: {
  custom: {
    50: '#76a568',
    500: '#387f2a',
    950: '#000000',
  },
}
SCSS
$custom: #387f2a;
$custom-light: #76a568;
$custom-dark: #000000;
JSON
{
  "hex": "#387f2a",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 110.118,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53184,
    "c": 0.13947,
    "h": 140.5
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#387F2A
secondary
#A057AE
accent
#4EDAC3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #387F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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