#52521B#52521B

#52521B is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.076 H 109.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#52521B
RGBrgb(82, 82, 27)
HSLhsl(60, 50%, 21%)
HSVhsv(60, 67%, 32%)
CMYKcmyk(0%, 0%, 67.1%, 67.8%)
CIE-LABlab(33.79, -8.12, 31.29)
CIE-LCHlch(33.79, 32.32, 104.55°)
OKLaboklab(42.64% -0.0248 0.0713)
OKLCHoklch(42.64% 0.076 109.2)
XYZxyz(6.6950, 7.9077, 2.2104)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52521B #1B1B52
analogous
#52371B #52521B #37521B
triadic
#52521B #1B5252 #521B52
tetradic
#52521B #1B5237 #1B1B52 #521B37
square
#52521B #1B5237 #1B1B52 #521B37
split-complementary
#52521B #1B3752 #371B52
monochromatic
#171708 #24240C #52521B #80802A #AEAE39

Accessibility & contrast

On white

8.13
#52521B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#52521B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52521B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52521B#FFFFFF#000000##FFFFFF
##52521B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E14
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#584D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #52521b;
/* rgb */ color: rgb(82, 82, 27);
/* oklch */ color: oklch(42.6% 0.076 109.2);
Tailwind
colors: {
  custom: {
    50: '#84825a',
    500: '#52521b',
    950: '#000000',
  },
}
SCSS
$custom: #52521b;
$custom-light: #84825a;
$custom-dark: #000000;
JSON
{
  "hex": "#52521b",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.07551,
    "h": 109.2
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#52521B
secondary
#414188
accent
#4EDA4E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #52521B

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

Preview Lab → · Contrast checker → · Palette generator →

#52521B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva