#516016#516016

#516016 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.098 H 120.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#516016
RGBrgb(81, 96, 22)
HSLhsl(72, 63%, 23%)
HSVhsv(72, 77%, 38%)
CMYKcmyk(15.6%, 0%, 77.1%, 62.4%)
CIE-LABlab(38.15, -16.86, 37.95)
CIE-LCHlch(38.15, 41.53, 113.96°)
OKLaboklab(46.11% -0.0497 0.0845)
OKLCHoklch(46.11% 0.098 120.5)
XYZxyz(7.7212, 10.1730, 2.3157)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516016 #251660
analogous
#604A16 #516016 #2C6016
triadic
#516016 #165160 #601651
tetradic
#516016 #16604A #251660 #60162C
square
#516016 #16604A #251660 #60162C
split-complementary
#516016 #162C60 #4A1660
monochromatic
#151906 #272E0B #516016 #7B9221 #A5C42D

Accessibility & contrast

On white

6.92
#516016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#516016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516016
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516016#FFFFFF#000000##FFFFFF
##5160161.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A08
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#565B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516016;
/* rgb */ color: rgb(81, 96, 22);
/* oklch */ color: oklch(46.1% 0.098 120.5);
Tailwind
colors: {
  custom: {
    50: '#848d59',
    500: '#516016',
    950: '#000000',
  },
}
SCSS
$custom: #516016;
$custom-light: #848d59;
$custom-dark: #000000;
JSON
{
  "hex": "#516016",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 72.162,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.09804,
    "h": 120.5
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#516016
secondary
#4E3B97
accent
#42E663
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516016

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

Preview Lab → · Contrast checker → · Palette generator →

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