#516511#516511

#516511 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.108 H 122.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#516511
RGBrgb(81, 101, 17)
HSLhsl(74, 71%, 23%)
HSVhsv(74, 83%, 40%)
CMYKcmyk(19.8%, 0%, 83.2%, 60.4%)
CIE-LABlab(39.74, -19.81, 41.28)
CIE-LCHlch(39.74, 45.79, 115.63°)
OKLaboklab(47.38% -0.0583 0.0906)
OKLCHoklch(47.38% 0.108 122.8)
XYZxyz(8.1483, 11.0971, 2.2429)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516511 #251165
analogous
#654F11 #516511 #276511
triadic
#516511 #115165 #651151
tetradic
#516511 #11654F #251165 #651127
square
#516511 #11654F #251165 #651127
split-complementary
#516511 #112765 #4F1165
monochromatic
#151A04 #273108 #516511 #7B991A #A5CE23

Accessibility & contrast

On white

6.52
#516511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#516511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516511
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516511#FFFFFF#000000##FFFFFF
##5165111.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#565F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #516511;
/* rgb */ color: rgb(81, 101, 17);
/* oklch */ color: oklch(47.4% 0.108 122.8);
Tailwind
colors: {
  custom: {
    50: '#859157',
    500: '#516511',
    950: '#000000',
  },
}
SCSS
$custom: #516511;
$custom-light: #859157;
$custom-dark: #000000;
JSON
{
  "hex": "#516511",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 74.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.1077,
    "h": 122.8
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#516511
secondary
#4E359D
accent
#3AEE65
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516511

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

Preview Lab → · Contrast checker → · Palette generator →

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