#516216#516216

#516216 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.101 H 121.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#516216
RGBrgb(81, 98, 22)
HSLhsl(73, 63%, 24%)
HSVhsv(73, 78%, 38%)
CMYKcmyk(17.3%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.80, -17.94, 38.58)
CIE-LCHlch(38.80, 42.55, 114.94°)
OKLaboklab(46.63% -0.0527 0.0858)
OKLCHoklch(46.63% 0.101 121.6)
XYZxyz(7.9060, 10.5426, 2.3773)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516216 #271662
analogous
#624D16 #516216 #2B6216
triadic
#516216 #165162 #621651
tetradic
#516216 #16624D #271662 #62162B
square
#516216 #16624D #271662 #62162B
split-complementary
#516216 #162B62 #4D1662
monochromatic
#151906 #28300B #516216 #7A9421 #A4C62C

Accessibility & contrast

On white

6.76
#516216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#516216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516216
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516216#FFFFFF#000000##FFFFFF
##5162161.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#565D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516216;
/* rgb */ color: rgb(81, 98, 22);
/* oklch */ color: oklch(46.6% 0.101 121.6);
Tailwind
colors: {
  custom: {
    50: '#848e59',
    500: '#516216',
    950: '#000000',
  },
}
SCSS
$custom: #516216;
$custom-light: #848e59;
$custom-dark: #000000;
JSON
{
  "hex": "#516216",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 73.421,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.10071,
    "h": 121.6
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#516216
secondary
#503B99
accent
#41E666
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516216

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

Preview Lab → · Contrast checker → · Palette generator →

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