#52571D#52571D

#52571D is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.9% C 0.080 H 113.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#52571D
RGBrgb(82, 87, 29)
HSLhsl(65, 50%, 23%)
HSVhsv(65, 67%, 34%)
CMYKcmyk(5.7%, 0%, 66.7%, 65.9%)
CIE-LABlab(35.40, -10.87, 32.03)
CIE-LCHlch(35.40, 33.82, 108.75°)
OKLaboklab(43.93% -0.0324 0.0732)
OKLCHoklch(43.93% 0.08 113.9)
XYZxyz(7.1098, 8.6991, 2.4667)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52571D #221D57
analogous
#573F1D #52571D #35571D
triadic
#52571D #1D5257 #571D52
tetradic
#52571D #1D573F #221D57 #571D35
square
#52571D #1D573F #221D57 #571D35
split-complementary
#52571D #1D3557 #3F1D57
monochromatic
#161708 #27290E #52571D #7D852C #A9B33C

Accessibility & contrast

On white

7.66
#52571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#52571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52571D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52571D#FFFFFF#000000##FFFFFF
##52571D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5316
Deuteranopia (green-blind)
#5D5421
Tritanopia (blue-blind)
#57524B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #52571d;
/* rgb */ color: rgb(82, 87, 29);
/* oklch */ color: oklch(43.9% 0.080 113.9);
Tailwind
colors: {
  custom: {
    50: '#84865c',
    500: '#52571d',
    950: '#000000',
  },
}
SCSS
$custom: #52571d;
$custom-light: #84865c;
$custom-dark: #000000;
JSON
{
  "hex": "#52571d",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 65.172,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.08002,
    "h": 113.9
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#52571D
secondary
#4A448C
accent
#4EDA5A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #52571D

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

Preview Lab → · Contrast checker → · Palette generator →

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