#387D13#387D13

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

Color values

HEX#387D13
RGBrgb(56, 125, 19)
HSLhsl(99, 74%, 28%)
HSVhsv(99, 85%, 49%)
CMYKcmyk(55.2%, 0%, 84.8%, 51%)
CIE-LABlab(46.38, -40.31, 46.23)
CIE-LCHlch(46.38, 61.34, 131.09°)
OKLaboklab(52.45% -0.1118 0.1019)
OKLCHoklch(52.45% 0.151 137.6)
XYZxyz(9.0817, 15.5543, 3.1397)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D13 #58137D
analogous
#6D7D13 #387D13 #137D23
triadic
#387D13 #13387D #7D1338
tetradic
#387D13 #136D7D #58137D #7D2313
square
#387D13 #136D7D #58137D #7D2313
split-complementary
#387D13 #23137D #7D136D
monochromatic
#0C1B04 #20480B #387D13 #50B21B #6ADF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387D13#FFFFFF#000000##FFFFFF
##387D131.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)
#796C20
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d13;
/* rgb */ color: rgb(56, 125, 19);
/* oklch */ color: oklch(52.4% 0.151 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a35c',
    500: '#387d13',
    950: '#000000',
  },
}
SCSS
$custom: #387d13;
$custom-light: #77a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#387d13",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 99.057,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.15128,
    "h": 137.6
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#387D13
secondary
#8839B3
accent
#38F0B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387D13

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

Preview Lab → · Contrast checker → · Palette generator →

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