#387D14#387D14

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

Color values

HEX#387D14
RGBrgb(56, 125, 20)
HSLhsl(99, 72%, 28%)
HSVhsv(99, 84%, 49%)
CMYKcmyk(55.2%, 0%, 84%, 51%)
CIE-LABlab(46.39, -40.26, 45.94)
CIE-LCHlch(46.39, 61.08, 131.23°)
OKLaboklab(52.45% -0.1116 0.1015)
OKLCHoklch(52.45% 0.151 137.7)
XYZxyz(9.0905, 15.5578, 3.1856)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D14 #59147D
analogous
#6C7D14 #387D14 #147D25
triadic
#387D14 #14387D #7D1438
tetradic
#387D14 #146C7D #59147D #7D2514
square
#387D14 #146C7D #59147D #7D2514
split-complementary
#387D14 #25147D #7D146C
monochromatic
#0C1A04 #20480C #387D14 #50B21C #6ADE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387D14#FFFFFF#000000##FFFFFF
##387D141.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)
#786C21
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d14;
/* rgb */ color: rgb(56, 125, 20);
/* oklch */ color: oklch(52.5% 0.151 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a35c',
    500: '#387d14',
    950: '#000000',
  },
}
SCSS
$custom: #387d14;
$custom-light: #77a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#387d14",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 99.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.15083,
    "h": 137.7
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#387D14
secondary
#893AB2
accent
#39EFB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387D14

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

Preview Lab → · Contrast checker → · Palette generator →

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