#387E14#387E14

#387E14 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.7% C 0.152 H 137.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#387E14
RGBrgb(56, 126, 20)
HSLhsl(100, 73%, 29%)
HSVhsv(100, 84%, 49%)
CMYKcmyk(55.6%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.73, -40.66, 46.25)
CIE-LCHlch(46.73, 61.58, 131.32°)
OKLaboklab(52.73% -0.1127 0.1021)
OKLCHoklch(52.73% 0.152 137.8)
XYZxyz(9.2177, 15.8122, 3.2280)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E14 #5A147E
analogous
#6D7E14 #387E14 #147E25
triadic
#387E14 #14387E #7E1438
tetradic
#387E14 #146D7E #5A147E #7E2514
square
#387E14 #146D7E #5A147E #7E2514
split-complementary
#387E14 #25147E #7E146D
monochromatic
#0C1A04 #21490C #387E14 #4FB31C #6ADE2E

Accessibility & contrast

On white

5.04
#387E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#387E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E14
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E14#FFFFFF#000000##FFFFFF
##387E141.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e14;
/* rgb */ color: rgb(56, 126, 20);
/* oklch */ color: oklch(52.7% 0.152 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a45c',
    500: '#387e14',
    950: '#000000',
  },
}
SCSS
$custom: #387e14;
$custom-light: #77a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#387e14",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 99.623,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.15206,
    "h": 137.8
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#387E14
secondary
#8A3AB3
accent
#38EFB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387E14

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

Preview Lab → · Contrast checker → · Palette generator →

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