#387D17#387D17

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

Color values

HEX#387D17
RGBrgb(56, 125, 23)
HSLhsl(101, 69%, 29%)
HSVhsv(101, 82%, 49%)
CMYKcmyk(55.2%, 0%, 81.6%, 51%)
CIE-LABlab(46.40, -40.09, 45.02)
CIE-LCHlch(46.40, 60.28, 131.69°)
OKLaboklab(52.47% -0.111 0.1)
OKLCHoklch(52.47% 0.149 138)
XYZxyz(9.1188, 15.5691, 3.3351)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D17 #5C177D
analogous
#6B7D17 #387D17 #177D29
triadic
#387D17 #17387D #7D1738
tetradic
#387D17 #176B7D #5C177D #7D2917
square
#387D17 #176B7D #5C177D #7D2917
split-complementary
#387D17 #29177D #7D176B
monochromatic
#0C1A05 #21490D #387D17 #4FB121 #6ADA35

Accessibility & contrast

On white

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

On black

4.11
#387D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387D17#FFFFFF#000000##FFFFFF
##387D171.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387d17;
/* rgb */ color: rgb(56, 125, 23);
/* oklch */ color: oklch(52.5% 0.149 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a35d',
    500: '#387d17',
    950: '#000000',
  },
}
SCSS
$custom: #387d17;
$custom-light: #77a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#387d17",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 100.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.14937,
    "h": 138
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#387D17
secondary
#8C3EB2
accent
#3CECB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D17

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

Preview Lab → · Contrast checker → · Palette generator →

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