#52521E#52521E

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

Color values

HEX#52521E
RGBrgb(82, 82, 30)
HSLhsl(60, 46%, 22%)
HSVhsv(60, 63%, 32%)
CMYKcmyk(0%, 0%, 63.4%, 67.8%)
CIE-LABlab(33.82, -7.88, 29.80)
CIE-LCHlch(33.82, 30.82, 104.80°)
OKLaboklab(42.68% -0.0238 0.0686)
OKLCHoklch(42.68% 0.073 109.1)
XYZxyz(6.7315, 7.9223, 2.4026)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52521E #1E1E52
analogous
#52381E #52521E #38521E
triadic
#52521E #1E5252 #521E52
tetradic
#52521E #1E5238 #1E1E52 #521E38
square
#52521E #1E5238 #1E1E52 #521E38
split-complementary
#52521E #1E3852 #381E52
monochromatic
#161608 #25250E #52521E #7F7F2E #ACAC3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52521E#FFFFFF#000000##FFFFFF
##52521E1.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)
#594F18
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#584D47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #52521e;
/* rgb */ color: rgb(82, 82, 30);
/* oklch */ color: oklch(42.7% 0.073 109.1);
Tailwind
colors: {
  custom: {
    50: '#84825c',
    500: '#52521e',
    950: '#000000',
  },
}
SCSS
$custom: #52521e;
$custom-light: #84825c;
$custom-dark: #000000;
JSON
{
  "hex": "#52521e",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.07263,
    "h": 109.1
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#52521E
secondary
#454587
accent
#52D652
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #52521E

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

Preview Lab → · Contrast checker → · Palette generator →

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