#515516#515516

#515516 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.084 H 113.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#515516
RGBrgb(81, 85, 22)
HSLhsl(64, 59%, 21%)
HSVhsv(64, 74%, 33%)
CMYKcmyk(4.7%, 0%, 74.1%, 66.7%)
CIE-LABlab(34.61, -10.71, 34.45)
CIE-LCHlch(34.61, 36.07, 107.27°)
OKLaboklab(43.26% -0.0327 0.0771)
OKLCHoklch(43.26% 0.084 113)
XYZxyz(6.7869, 8.3044, 2.0043)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515516 #1A1655
analogous
#553916 #515516 #315516
triadic
#515516 #165155 #551651
tetradic
#515516 #165539 #1A1655 #551631
square
#515516 #165539 #1A1655 #551631
split-complementary
#515516 #163155 #391655
monochromatic
#171806 #232409 #515516 #7F8623 #AEB62F

Accessibility & contrast

On white

7.89
#515516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#515516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515516
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515516#FFFFFF#000000##FFFFFF
##5155161.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#575048
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515516;
/* rgb */ color: rgb(81, 85, 22);
/* oklch */ color: oklch(43.3% 0.084 113.0);
Tailwind
colors: {
  custom: {
    50: '#848458',
    500: '#515516',
    950: '#000000',
  },
}
SCSS
$custom: #515516;
$custom-light: #848458;
$custom-dark: #000000;
JSON
{
  "hex": "#515516",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 63.81,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.08374,
    "h": 113
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#515516
secondary
#403A8C
accent
#46E250
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515516

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

Preview Lab → · Contrast checker → · Palette generator →

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