#387916#387916

#387916 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.3% C 0.145 H 137.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#387916
RGBrgb(56, 121, 22)
HSLhsl(99, 69%, 28%)
HSVhsv(99, 82%, 47%)
CMYKcmyk(53.7%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.04, -38.54, 44.06)
CIE-LCHlch(45.04, 58.54, 131.18°)
OKLaboklab(51.35% -0.1069 0.0978)
OKLCHoklch(51.35% 0.145 137.5)
XYZxyz(8.6128, 14.5728, 3.1179)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387916 #571679
analogous
#697916 #387916 #167925
triadic
#387916 #163879 #791638
tetradic
#387916 #166979 #571679 #792516
square
#387916 #166979 #571679 #792516
split-complementary
#387916 #251679 #791669
monochromatic
#0C1A05 #20450D #387916 #50AD1F #6AD930

Accessibility & contrast

On white

5.36
#387916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#387916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387916
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387916#FFFFFF#000000##FFFFFF
##3879161.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #387916;
/* rgb */ color: rgb(56, 121, 22);
/* oklch */ color: oklch(51.3% 0.145 137.5);
Tailwind
colors: {
  custom: {
    50: '#76a05c',
    500: '#387916',
    950: '#000000',
  },
}
SCSS
$custom: #387916;
$custom-light: #76a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#387916",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 99.394,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.14489,
    "h": 137.5
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#387916
secondary
#873DAE
accent
#3CECB0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #387916

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

Preview Lab → · Contrast checker → · Palette generator →

#387916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva