#516116#516116

#516116 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.099 H 121.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#516116
RGBrgb(81, 97, 22)
HSLhsl(73, 63%, 23%)
HSVhsv(73, 77%, 38%)
CMYKcmyk(16.5%, 0%, 77.3%, 62%)
CIE-LABlab(38.48, -17.40, 38.27)
CIE-LCHlch(38.48, 42.04, 114.46°)
OKLaboklab(46.37% -0.0512 0.0851)
OKLCHoklch(46.37% 0.099 121)
XYZxyz(7.8130, 10.3567, 2.3463)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516116 #261661
analogous
#614B16 #516116 #2B6116
triadic
#516116 #165161 #611651
tetradic
#516116 #16614B #261661 #61162B
square
#516116 #16614B #261661 #61162B
split-complementary
#516116 #162B61 #4B1661
monochromatic
#151906 #272F0B #516116 #7B9321 #A4C52D

Accessibility & contrast

On white

6.84
#516116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#516116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516116
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516116#FFFFFF#000000##FFFFFF
##5161161.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B08
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#565C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516116;
/* rgb */ color: rgb(81, 97, 22);
/* oklch */ color: oklch(46.4% 0.099 121.0);
Tailwind
colors: {
  custom: {
    50: '#848d59',
    500: '#516116',
    950: '#000000',
  },
}
SCSS
$custom: #516116;
$custom-light: #848d59;
$custom-dark: #000000;
JSON
{
  "hex": "#516116",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 72.8,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.09937,
    "h": 121
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#516116
secondary
#4F3B98
accent
#42E665
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516116

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

Preview Lab → · Contrast checker → · Palette generator →

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