#525216#525216

#525216 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.080 H 109.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#525216
RGBrgb(82, 82, 22)
HSLhsl(60, 58%, 20%)
HSVhsv(60, 73%, 32%)
CMYKcmyk(0%, 0%, 73.2%, 67.8%)
CIE-LABlab(33.75, -8.47, 33.61)
CIE-LCHlch(33.75, 34.66, 104.15°)
OKLaboklab(42.59% -0.0265 0.0753)
OKLCHoklch(42.59% 0.08 109.4)
XYZxyz(6.6420, 7.8865, 1.9313)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525216 #161652
analogous
#523416 #525216 #345216
triadic
#525216 #165252 #521652
tetradic
#525216 #165234 #161652 #521634
square
#525216 #165234 #161652 #521634
split-complementary
#525216 #163452 #341652
monochromatic
#181806 #222209 #525216 #828223 #B3B330

Accessibility & contrast

On white

8.15
#525216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#525216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525216
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525216#FFFFFF#000000##FFFFFF
##5252161.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#584C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525216;
/* rgb */ color: rgb(82, 82, 22);
/* oklch */ color: oklch(42.6% 0.080 109.4);
Tailwind
colors: {
  custom: {
    50: '#858257',
    500: '#525216',
    950: '#000000',
  },
}
SCSS
$custom: #525216;
$custom-light: #858257;
$custom-dark: #000000;
JSON
{
  "hex": "#525216",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.07982,
    "h": 109.4
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#525216
secondary
#3A3A89
accent
#47E147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525216

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

Preview Lab → · Contrast checker → · Palette generator →

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