#516111#516111

#516111 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.102 H 120.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#516111
RGBrgb(81, 97, 17)
HSLhsl(72, 70%, 22%)
HSVhsv(72, 82%, 38%)
CMYKcmyk(16.5%, 0%, 82.5%, 62%)
CIE-LABlab(38.44, -17.68, 40.09)
CIE-LCHlch(38.44, 43.82, 113.79°)
OKLaboklab(46.33% -0.0524 0.0881)
OKLCHoklch(46.33% 0.103 120.8)
XYZxyz(7.7694, 10.3392, 2.1166)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516111 #211161
analogous
#614911 #516111 #296111
triadic
#516111 #115161 #611151
tetradic
#516111 #116149 #211161 #611129
square
#516111 #116149 #211161 #611129
split-complementary
#516111 #112961 #491161
monochromatic
#161A05 #262D08 #516111 #7C951A #A8C923

Accessibility & contrast

On white

6.85
#516111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #516111
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516111#FFFFFF#000000##FFFFFF
##5161111.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#565B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #516111;
/* rgb */ color: rgb(81, 97, 17);
/* oklch */ color: oklch(46.3% 0.102 120.8);
Tailwind
colors: {
  custom: {
    50: '#858d57',
    500: '#516111',
    950: '#000000',
  },
}
SCSS
$custom: #516111;
$custom-light: #858d57;
$custom-dark: #000000;
JSON
{
  "hex": "#516111",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 72,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.1025,
    "h": 120.8
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#516111
secondary
#493499
accent
#3BED5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516111

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

Preview Lab → · Contrast checker → · Palette generator →

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