#387B16#387B16

#387B16 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 51.9% C 0.147 H 137.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#387B16
RGBrgb(56, 123, 22)
HSLhsl(100, 70%, 28%)
HSVhsv(100, 82%, 48%)
CMYKcmyk(54.5%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.72, -39.35, 44.70)
CIE-LCHlch(45.72, 59.55, 131.36°)
OKLaboklab(51.91% -0.109 0.0992)
OKLCHoklch(51.91% 0.147 137.7)
XYZxyz(8.8584, 15.0639, 3.1997)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B16 #59167B
analogous
#6A7B16 #387B16 #167B26
triadic
#387B16 #16387B #7B1638
tetradic
#387B16 #166A7B #59167B #7B2616
square
#387B16 #166A7B #59167B #7B2616
split-complementary
#387B16 #26167B #7B166A
monochromatic
#0C1A05 #20470D #387B16 #50AF1F #6ADA31

Accessibility & contrast

On white

5.23
#387B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#387B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B16
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B16#FFFFFF#000000##FFFFFF
##387B161.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b16;
/* rgb */ color: rgb(56, 123, 22);
/* oklch */ color: oklch(51.9% 0.147 137.7);
Tailwind
colors: {
  custom: {
    50: '#76a25d',
    500: '#387b16',
    950: '#000000',
  },
}
SCSS
$custom: #387b16;
$custom-light: #76a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#387b16",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 99.802,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.14739,
    "h": 137.7
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#387B16
secondary
#893DB0
accent
#3BECB1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387B16

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

Preview Lab → · Contrast checker → · Palette generator →

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