#52521D#52521D

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

Color values

HEX#52521D
RGBrgb(82, 82, 29)
HSLhsl(60, 48%, 22%)
HSVhsv(60, 65%, 32%)
CMYKcmyk(0%, 0%, 64.6%, 67.8%)
CIE-LABlab(33.81, -7.96, 30.30)
CIE-LCHlch(33.81, 31.33, 104.72°)
OKLaboklab(42.67% -0.0241 0.0695)
OKLCHoklch(42.67% 0.074 109.2)
XYZxyz(6.7189, 7.9173, 2.3364)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52521D #1D1D52
analogous
#52381D #52521D #38521D
triadic
#52521D #1D5252 #521D52
tetradic
#52521D #1D5238 #1D1D52 #521D38
square
#52521D #1D5238 #1D1D52 #521D38
split-complementary
#52521D #1D3852 #381D52
monochromatic
#171708 #25250D #52521D #7F7F2D #ACAC3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52521D#FFFFFF#000000##FFFFFF
##52521D1.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)
#594F17
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#584D47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #52521d;
/* rgb */ color: rgb(82, 82, 29);
/* oklch */ color: oklch(42.7% 0.074 109.2);
Tailwind
colors: {
  custom: {
    50: '#84825c',
    500: '#52521d',
    950: '#000000',
  },
}
SCSS
$custom: #52521d;
$custom-light: #84825c;
$custom-dark: #000000;
JSON
{
  "hex": "#52521d",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.0736,
    "h": 109.2
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#52521D
secondary
#444487
accent
#50D750
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #52521D

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

Preview Lab → · Contrast checker → · Palette generator →

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