#515517#515517

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

Color values

HEX#515517
RGBrgb(81, 85, 23)
HSLhsl(64, 57%, 21%)
HSVhsv(64, 73%, 33%)
CMYKcmyk(4.7%, 0%, 72.9%, 66.7%)
CIE-LABlab(34.62, -10.64, 34.01)
CIE-LCHlch(34.62, 35.64, 107.37°)
OKLaboklab(43.27% -0.0324 0.0764)
OKLCHoklch(43.27% 0.083 113)
XYZxyz(6.7967, 8.3083, 2.0561)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515517 #1B1755
analogous
#553A17 #515517 #325517
triadic
#515517 #175155 #551751
tetradic
#515517 #17553A #1B1755 #551732
square
#515517 #17553A #1B1755 #551732
split-complementary
#515517 #173255 #3A1755
monochromatic
#171807 #23250A #515517 #7F8524 #ADB531

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515517#FFFFFF#000000##FFFFFF
##5155171.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)
#5C510E
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515517;
/* rgb */ color: rgb(81, 85, 23);
/* oklch */ color: oklch(43.3% 0.083 113.0);
Tailwind
colors: {
  custom: {
    50: '#848458',
    500: '#515517',
    950: '#000000',
  },
}
SCSS
$custom: #515517;
$custom-light: #848458;
$custom-dark: #000000;
JSON
{
  "hex": "#515517",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 63.871,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.08295,
    "h": 113
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#515517
secondary
#413C8C
accent
#47E151
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515517

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

Preview Lab → · Contrast checker → · Palette generator →

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