#516017#516017

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

Color values

HEX#516017
RGBrgb(81, 96, 23)
HSLhsl(72, 61%, 23%)
HSVhsv(72, 76%, 38%)
CMYKcmyk(15.6%, 0%, 76%, 62.4%)
CIE-LABlab(38.16, -16.80, 37.55)
CIE-LCHlch(38.16, 41.14, 114.10°)
OKLaboklab(46.11% -0.0495 0.0838)
OKLCHoklch(46.11% 0.097 120.6)
XYZxyz(7.7310, 10.1770, 2.3675)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516017 #261760
analogous
#604A17 #516017 #2C6017
triadic
#516017 #175160 #601751
tetradic
#516017 #17604A #261760 #60172C
square
#516017 #17604A #261760 #60172C
split-complementary
#516017 #172C60 #4A1760
monochromatic
#151906 #272F0B #516017 #7B9123 #A4C32F

Accessibility & contrast

On white

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

On black

3.04
#516017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##516017#FFFFFF#000000##FFFFFF
##5160171.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516017;
/* rgb */ color: rgb(81, 96, 23);
/* oklch */ color: oklch(46.1% 0.097 120.6);
Tailwind
colors: {
  custom: {
    50: '#848d5a',
    500: '#516017',
    950: '#000000',
  },
}
SCSS
$custom: #516017;
$custom-light: #848d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#516017",
  "rgb": {
    "r": 81,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 72.329,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.09734,
    "h": 120.6
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#516017
secondary
#4F3C97
accent
#43E464
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516017

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

Preview Lab → · Contrast checker → · Palette generator →

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