#516611#516611

#516611 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.109 H 123.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#516611
RGBrgb(81, 102, 17)
HSLhsl(75, 71%, 23%)
HSVhsv(75, 83%, 40%)
CMYKcmyk(20.6%, 0%, 83.3%, 60%)
CIE-LABlab(40.07, -20.33, 41.58)
CIE-LCHlch(40.07, 46.28, 116.06°)
OKLaboklab(47.65% -0.0597 0.0912)
OKLCHoklch(47.65% 0.109 123.2)
XYZxyz(8.2460, 11.2925, 2.2755)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516611 #261166
analogous
#665011 #516611 #266611
triadic
#516611 #115166 #661151
tetradic
#516611 #116650 #261166 #661126
square
#516611 #116650 #261166 #661126
split-complementary
#516611 #112666 #501166
monochromatic
#151A04 #273208 #516611 #7B9A1A #A4CF22

Accessibility & contrast

On white

6.44
#516611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#516611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516611
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516611#FFFFFF#000000##FFFFFF
##5166111.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#566056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #516611;
/* rgb */ color: rgb(81, 102, 17);
/* oklch */ color: oklch(47.6% 0.109 123.2);
Tailwind
colors: {
  custom: {
    50: '#859158',
    500: '#516611',
    950: '#000000',
  },
}
SCSS
$custom: #516611;
$custom-light: #859158;
$custom-dark: #000000;
JSON
{
  "hex": "#516611",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 74.824,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.10901,
    "h": 123.2
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#516611
secondary
#4F359E
accent
#3AEE66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #516611

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

Preview Lab → · Contrast checker → · Palette generator →

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