#387A14#387A14

#387A14 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.147 H 137.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#387A14
RGBrgb(56, 122, 20)
HSLhsl(99, 72%, 28%)
HSVhsv(99, 84%, 48%)
CMYKcmyk(54.1%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.37, -39.06, 45.00)
CIE-LCHlch(45.37, 59.59, 130.96°)
OKLaboklab(51.61% -0.1084 0.0995)
OKLCHoklch(51.61% 0.147 137.4)
XYZxyz(8.7164, 14.8097, 3.0609)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A14 #56147A
analogous
#6B7A14 #387A14 #147A23
triadic
#387A14 #14387A #7A1438
tetradic
#387A14 #146B7A #56147A #7A2314
square
#387A14 #146B7A #56147A #7A2314
split-complementary
#387A14 #23147A #7A146B
monochromatic
#0C1A04 #20450B #387A14 #50AF1D #6ADC2C

Accessibility & contrast

On white

5.30
#387A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#387A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387A14
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387A14#FFFFFF#000000##FFFFFF
##387A141.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a14;
/* rgb */ color: rgb(56, 122, 20);
/* oklch */ color: oklch(51.6% 0.147 137.4);
Tailwind
colors: {
  custom: {
    50: '#76a15c',
    500: '#387a14',
    950: '#000000',
  },
}
SCSS
$custom: #387a14;
$custom-light: #76a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#387a14",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 98.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.14713,
    "h": 137.4
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#387A14
secondary
#863AB0
accent
#39EFAF
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387A14

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

Preview Lab → · Contrast checker → · Palette generator →

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