#52520D#52520D

#52520D is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.086 H 109.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#52520D
RGBrgb(82, 82, 13)
HSLhsl(60, 73%, 19%)
HSVhsv(60, 84%, 32%)
CMYKcmyk(0%, 0%, 84.1%, 67.8%)
CIE-LABlab(33.68, -8.96, 37.18)
CIE-LCHlch(33.68, 38.24, 103.55°)
OKLaboklab(42.53% -0.0288 0.081)
OKLCHoklch(42.53% 0.086 109.6)
XYZxyz(6.5699, 7.8577, 1.5513)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52520D #0D0D52
analogous
#522F0D #52520D #2F520D
triadic
#52520D #0D5252 #520D52
tetradic
#52520D #0D522F #0D0D52 #520D2F
square
#52520D #0D522F #0D0D52 #520D2F
split-complementary
#52520D #0D2F52 #2F0D52
monochromatic
#1A1A04 #1D1D05 #52520D #878715 #BCBC1E

Accessibility & contrast

On white

8.17
#52520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#52520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52520D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52520D#FFFFFF#000000##FFFFFF
##52520D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#594C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #52520d;
/* rgb */ color: rgb(82, 82, 13);
/* oklch */ color: oklch(42.5% 0.086 109.6);
Tailwind
colors: {
  custom: {
    50: '#858253',
    500: '#52520d',
    950: '#000000',
  },
}
SCSS
$custom: #52520d;
$custom-light: #858253;
$custom-dark: #000000;
JSON
{
  "hex": "#52520d",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 60,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.08598,
    "h": 109.6
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#52520D
secondary
#2E2E8D
accent
#38EF38
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52520D

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

Preview Lab → · Contrast checker → · Palette generator →

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