#516510#516510

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

Color values

HEX#516510
RGBrgb(81, 101, 16)
HSLhsl(74, 73%, 23%)
HSVhsv(74, 84%, 40%)
CMYKcmyk(19.8%, 0%, 84.2%, 60.4%)
CIE-LABlab(39.74, -19.85, 41.61)
CIE-LCHlch(39.74, 46.10, 115.51°)
OKLaboklab(47.38% -0.0585 0.0911)
OKLCHoklch(47.38% 0.108 122.7)
XYZxyz(8.1407, 11.0941, 2.2026)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516510 #241065
analogous
#654F10 #516510 #266510
triadic
#516510 #105165 #651051
tetradic
#516510 #10654F #241065 #651026
square
#516510 #10654F #241065 #651026
split-complementary
#516510 #102665 #4F1065
monochromatic
#151A04 #273008 #516510 #7B9A18 #A6CF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516510#FFFFFF#000000##FFFFFF
##5165101.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)
#695E19
Tritanopia (blue-blind)
#565F55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #516510;
/* rgb */ color: rgb(81, 101, 16);
/* oklch */ color: oklch(47.4% 0.108 122.7);
Tailwind
colors: {
  custom: {
    50: '#859157',
    500: '#516510',
    950: '#000000',
  },
}
SCSS
$custom: #516510;
$custom-light: #859157;
$custom-dark: #000000;
JSON
{
  "hex": "#516510",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 74.118,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47376,
    "c": 0.10823,
    "h": 122.7
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#516510
secondary
#4C339D
accent
#38EF63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #516510

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

Preview Lab → · Contrast checker → · Palette generator →

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