#387D2F#387D2F

#387D2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.133 H 141.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#387D2F
RGBrgb(56, 125, 47)
HSLhsl(113, 45%, 34%)
HSVhsv(113, 62%, 49%)
CMYKcmyk(55.2%, 0%, 62.4%, 51%)
CIE-LABlab(46.59, -37.95, 35.26)
CIE-LCHlch(46.59, 51.80, 137.11°)
OKLaboklab(52.69% -0.1036 0.0827)
OKLCHoklch(52.69% 0.133 141.4)
XYZxyz(9.4771, 15.7125, 5.2222)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D2F #742F7D
analogous
#5F7D2F #387D2F #2F7D4D
triadic
#387D2F #2F387D #7D2F38
tetradic
#387D2F #2F5F7D #742F7D #7D4D2F
square
#387D2F #2F5F7D #742F7D #7D4D2F
split-complementary
#387D2F #4D2F7D #7D2F5F
monochromatic
#10240E #24511E #387D2F #4CA940 #6EC462

Accessibility & contrast

On white

5.07
#387D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#387D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D2F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D2F#FFFFFF#000000##FFFFFF
##387D2F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#2F796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d2f;
/* rgb */ color: rgb(56, 125, 47);
/* oklch */ color: oklch(52.7% 0.133 141.4);
Tailwind
colors: {
  custom: {
    50: '#76a36a',
    500: '#387d2f',
    950: '#000000',
  },
}
SCSS
$custom: #387d2f;
$custom-light: #76a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#387d2f",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 113.077,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.13256,
    "h": 141.4
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#387D2F
secondary
#A25DAB
accent
#53D5C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #387D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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