#525016#525016

#525016 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.077 H 107.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#525016
RGBrgb(82, 80, 22)
HSLhsl(58, 58%, 20%)
HSVhsv(58, 73%, 32%)
CMYKcmyk(0%, 2.4%, 73.2%, 67.8%)
CIE-LABlab(33.11, -7.29, 32.97)
CIE-LCHlch(33.11, 33.77, 102.47°)
OKLaboklab(42.09% -0.0231 0.074)
OKLCHoklch(42.09% 0.078 107.4)
XYZxyz(6.4934, 7.5893, 1.8817)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525016 #161852
analogous
#523216 #525016 #365216
triadic
#525016 #165250 #501652
tetradic
#525016 #165232 #161852 #521636
square
#525016 #165232 #161852 #521636
split-complementary
#525016 #163652 #321652
monochromatic
#181806 #222109 #525016 #827F23 #B3AE30

Accessibility & contrast

On white

8.34
#525016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#525016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525016
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525016#FFFFFF#000000##FFFFFF
##5250161.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0E
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#584A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #525016;
/* rgb */ color: rgb(82, 80, 22);
/* oklch */ color: oklch(42.1% 0.077 107.4);
Tailwind
colors: {
  custom: {
    50: '#858057',
    500: '#525016',
    950: '#000000',
  },
}
SCSS
$custom: #525016;
$custom-light: #858057;
$custom-dark: #000000;
JSON
{
  "hex": "#525016",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 58,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42087,
    "c": 0.0775,
    "h": 107.4
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#525016
secondary
#3A3D89
accent
#4CE147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525016

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

Preview Lab → · Contrast checker → · Palette generator →

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