#387A16#387A16

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

Color values

HEX#387A16
RGBrgb(56, 122, 22)
HSLhsl(100, 69%, 28%)
HSVhsv(100, 82%, 48%)
CMYKcmyk(54.1%, 0%, 82%, 52.2%)
CIE-LABlab(45.38, -38.94, 44.38)
CIE-LCHlch(45.38, 59.04, 131.27°)
OKLaboklab(51.63% -0.1079 0.0985)
OKLCHoklch(51.63% 0.146 137.6)
XYZxyz(8.7349, 14.8171, 3.1586)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387A16 #58167A
analogous
#6A7A16 #387A16 #167A26
triadic
#387A16 #16387A #7A1638
tetradic
#387A16 #166A7A #58167A #7A2616
square
#387A16 #166A7A #58167A #7A2616
split-complementary
#387A16 #26167A #7A166A
monochromatic
#0C1A05 #20460D #387A16 #50AE1F #6ADA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387A16#FFFFFF#000000##FFFFFF
##387A161.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)
#766922
Tritanopia (blue-blind)
#337568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387a16;
/* rgb */ color: rgb(56, 122, 22);
/* oklch */ color: oklch(51.6% 0.146 137.6);
Tailwind
colors: {
  custom: {
    50: '#76a15c',
    500: '#387a16',
    950: '#000000',
  },
}
SCSS
$custom: #387a16;
$custom-light: #76a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#387a16",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 99.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.14613,
    "h": 137.6
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#387A16
secondary
#883DAF
accent
#3CECB0
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387A16

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

Preview Lab → · Contrast checker → · Palette generator →

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