#387D15#387D15

#387D15 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.150 H 137.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#387D15
RGBrgb(56, 125, 21)
HSLhsl(100, 71%, 29%)
HSVhsv(100, 83%, 49%)
CMYKcmyk(55.2%, 0%, 83.2%, 51%)
CIE-LABlab(46.39, -40.20, 45.64)
CIE-LCHlch(46.39, 60.82, 131.38°)
OKLaboklab(52.46% -0.1114 0.101)
OKLCHoklch(52.46% 0.15 137.8)
XYZxyz(9.0995, 15.5614, 3.2335)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D15 #5A157D
analogous
#6C7D15 #387D15 #157D26
triadic
#387D15 #15387D #7D1538
tetradic
#387D15 #156C7D #5A157D #7D2615
square
#387D15 #156C7D #5A157D #7D2615
split-complementary
#387D15 #26157D #7D156C
monochromatic
#0C1A04 #21490C #387D15 #4FB11E #6ADC30

Accessibility & contrast

On white

5.11
#387D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387D15
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D15#FFFFFF#000000##FFFFFF
##387D151.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387d15;
/* rgb */ color: rgb(56, 125, 21);
/* oklch */ color: oklch(52.5% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a35d',
    500: '#387d15',
    950: '#000000',
  },
}
SCSS
$custom: #387d15;
$custom-light: #77a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#387d15",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 99.808,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.15036,
    "h": 137.8
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#387D15
secondary
#8A3CB2
accent
#3AEEB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387D15

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

Preview Lab → · Contrast checker → · Palette generator →

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