#525516#525516

#525516 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.083 H 112.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#525516
RGBrgb(82, 85, 22)
HSLhsl(63, 59%, 21%)
HSVhsv(63, 74%, 33%)
CMYKcmyk(3.5%, 0%, 74.1%, 66.7%)
CIE-LABlab(34.70, -10.22, 34.57)
CIE-LCHlch(34.70, 36.05, 106.47°)
OKLaboklab(43.36% -0.0314 0.0773)
OKLCHoklch(43.36% 0.083 112.1)
XYZxyz(6.8732, 8.3489, 2.0083)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525516 #191655
analogous
#553816 #525516 #325516
triadic
#525516 #165255 #551652
tetradic
#525516 #165538 #191655 #551632
square
#525516 #165538 #191655 #551632
split-complementary
#525516 #163255 #381655
monochromatic
#171806 #232409 #525516 #818623 #B0B62F

Accessibility & contrast

On white

7.87
#525516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#525516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525516
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525516#FFFFFF#000000##FFFFFF
##5255161.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510C
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#584F48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #525516;
/* rgb */ color: rgb(82, 85, 22);
/* oklch */ color: oklch(43.4% 0.083 112.1);
Tailwind
colors: {
  custom: {
    50: '#858458',
    500: '#525516',
    950: '#000000',
  },
}
SCSS
$custom: #525516;
$custom-light: #858458;
$custom-dark: #000000;
JSON
{
  "hex": "#525516",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 62.857,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.08345,
    "h": 112.1
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#525516
secondary
#3E3A8C
accent
#46E24D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525516

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

Preview Lab → · Contrast checker → · Palette generator →

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