#515518#515518

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

Color values

HEX#515518
RGBrgb(81, 85, 24)
HSLhsl(64, 56%, 21%)
HSVhsv(64, 72%, 33%)
CMYKcmyk(4.7%, 0%, 71.8%, 66.7%)
CIE-LABlab(34.63, -10.57, 33.57)
CIE-LCHlch(34.63, 35.19, 107.49°)
OKLaboklab(43.28% -0.0321 0.0756)
OKLCHoklch(43.28% 0.082 113)
XYZxyz(6.8069, 8.3124, 2.1099)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515518 #1C1855
analogous
#553B18 #515518 #335518
triadic
#515518 #185155 #551851
tetradic
#515518 #18553B #1C1855 #551833
square
#515518 #18553B #1C1855 #551833
split-complementary
#515518 #183355 #3B1855
monochromatic
#171807 #24250B #515518 #7E8525 #ACB433

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515518#FFFFFF#000000##FFFFFF
##5155181.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)
#5C510F
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515518;
/* rgb */ color: rgb(81, 85, 24);
/* oklch */ color: oklch(43.3% 0.082 113.0);
Tailwind
colors: {
  custom: {
    50: '#848459',
    500: '#515518',
    950: '#000000',
  },
}
SCSS
$custom: #515518;
$custom-light: #848459;
$custom-dark: #000000;
JSON
{
  "hex": "#515518",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 63.934,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.08214,
    "h": 113
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#515518
secondary
#423D8C
accent
#49DF52
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515518

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

Preview Lab → · Contrast checker → · Palette generator →

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