#387D1B#387D1B

#387D1B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.147 H 138.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#387D1B
RGBrgb(56, 125, 27)
HSLhsl(102, 64%, 30%)
HSVhsv(102, 78%, 49%)
CMYKcmyk(55.2%, 0%, 78.4%, 51%)
CIE-LABlab(46.43, -39.83, 43.67)
CIE-LCHlch(46.43, 59.10, 132.37°)
OKLaboklab(52.5% -0.11 0.0978)
OKLCHoklch(52.5% 0.147 138.4)
XYZxyz(9.1620, 15.5864, 3.5624)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D1B #601B7D
analogous
#697D1B #387D1B #1B7D2F
triadic
#387D1B #1B387D #7D1B38
tetradic
#387D1B #1B697D #601B7D #7D2F1B
square
#387D1B #1B697D #601B7D #7D2F1B
split-complementary
#387D1B #2F1B7D #7D1B69
monochromatic
#0B1905 #214B10 #387D1B #4FAF26 #6AD53D

Accessibility & contrast

On white

5.10
#387D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#387D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D1B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D1B#FFFFFF#000000##FFFFFF
##387D1B1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#32786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d1b;
/* rgb */ color: rgb(56, 125, 27);
/* oklch */ color: oklch(52.5% 0.147 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a35f',
    500: '#387d1b',
    950: '#000000',
  },
}
SCSS
$custom: #387d1b;
$custom-light: #77a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#387d1b",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 102.245,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.14719,
    "h": 138.4
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#387D1B
secondary
#9043B1
accent
#40E7B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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