#387C14#387C14

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

Color values

HEX#387C14
RGBrgb(56, 124, 20)
HSLhsl(99, 72%, 28%)
HSVhsv(99, 84%, 49%)
CMYKcmyk(54.8%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.05, -39.86, 45.63)
CIE-LCHlch(46.05, 60.59, 131.14°)
OKLaboklab(52.17% -0.1105 0.1008)
OKLCHoklch(52.17% 0.15 137.6)
XYZxyz(8.9645, 15.3059, 3.1436)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387C14 #58147C
analogous
#6C7C14 #387C14 #147C24
triadic
#387C14 #14387C #7C1438
tetradic
#387C14 #146C7C #58147C #7C2414
square
#387C14 #146C7C #58147C #7C2414
split-complementary
#387C14 #24147C #7C146C
monochromatic
#0C1A04 #20470B #387C14 #50B11D #6ADD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387C14#FFFFFF#000000##FFFFFF
##387C141.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)
#786B21
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #387c14;
/* rgb */ color: rgb(56, 124, 20);
/* oklch */ color: oklch(52.2% 0.150 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#387c14',
    950: '#000000',
  },
}
SCSS
$custom: #387c14;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#387c14",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 99.231,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.1496,
    "h": 137.6
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#387C14
secondary
#883AB2
accent
#39EFB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387C14

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

Preview Lab → · Contrast checker → · Palette generator →

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