#387F14#387F14

#387F14 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.0% C 0.153 H 137.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#387F14
RGBrgb(56, 127, 20)
HSLhsl(100, 73%, 29%)
HSVhsv(100, 84%, 50%)
CMYKcmyk(55.9%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.07, -41.05, 46.56)
CIE-LCHlch(47.07, 62.07, 131.40°)
OKLaboklab(53.01% -0.1137 0.1028)
OKLCHoklch(53.01% 0.153 137.9)
XYZxyz(9.3462, 16.0693, 3.2709)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F14 #5B147F
analogous
#6E7F14 #387F14 #147F26
triadic
#387F14 #14387F #7F1438
tetradic
#387F14 #146E7F #5B147F #7F2614
square
#387F14 #146E7F #5B147F #7F2614
split-complementary
#387F14 #26147F #7F146E
monochromatic
#0C1A04 #214A0C #387F14 #4FB41C #6ADE2F

Accessibility & contrast

On white

4.98
#387F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#387F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F14
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F14#FFFFFF#000000##FFFFFF
##387F141.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f14;
/* rgb */ color: rgb(56, 127, 20);
/* oklch */ color: oklch(53.0% 0.153 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a55c',
    500: '#387f14',
    950: '#000000',
  },
}
SCSS
$custom: #387f14;
$custom-light: #77a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#387f14",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 99.813,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.15328,
    "h": 137.9
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#387F14
secondary
#8B3BB4
accent
#38EFB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #387F14

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

Preview Lab → · Contrast checker → · Palette generator →

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