#387C13#387C13

#387C13 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.150 H 137.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#387C13
RGBrgb(56, 124, 19)
HSLhsl(99, 73%, 28%)
HSVhsv(99, 85%, 49%)
CMYKcmyk(54.8%, 0%, 84.7%, 51.4%)
CIE-LABlab(46.05, -39.91, 45.92)
CIE-LCHlch(46.05, 60.84, 131.00°)
OKLaboklab(52.17% -0.1107 0.1013)
OKLCHoklch(52.17% 0.15 137.5)
XYZxyz(8.9558, 15.3024, 3.0977)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C13 #57137C
analogous
#6C7C13 #387C13 #137C22
triadic
#387C13 #13387C #7C1338
tetradic
#387C13 #136C7C #57137C #7C2213
square
#387C13 #136C7C #57137C #7C2213
split-complementary
#387C13 #22137C #7C136C
monochromatic
#0C1B04 #20470B #387C13 #50B11B #6ADF2B

Accessibility & contrast

On white

5.17
#387C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#387C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387C13
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387C13#FFFFFF#000000##FFFFFF
##387C131.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c13;
/* rgb */ color: rgb(56, 124, 19);
/* oklch */ color: oklch(52.2% 0.150 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#387c13',
    950: '#000000',
  },
}
SCSS
$custom: #387c13;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#387c13",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 98.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.15006,
    "h": 137.5
  },
  "luminance": 0.15303
}

Semantic roles & 50–950 ramp

primary
#387C13
secondary
#8739B2
accent
#38F0AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387C13

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

Preview Lab → · Contrast checker → · Palette generator →

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