#52571A#52571A

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

Color values

HEX#52571A
RGBrgb(82, 87, 26)
HSLhsl(65, 54%, 22%)
HSVhsv(65, 70%, 34%)
CMYKcmyk(5.7%, 0%, 70.1%, 65.9%)
CIE-LABlab(35.37, -11.10, 33.44)
CIE-LCHlch(35.37, 35.23, 108.36°)
OKLaboklab(43.9% -0.0334 0.0757)
OKLCHoklch(43.9% 0.083 113.8)
XYZxyz(7.0745, 8.6849, 2.2808)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52571A #1F1A57
analogous
#573E1A #52571A #34571A
triadic
#52571A #1A5257 #571A52
tetradic
#52571A #1A573E #1F1A57 #571A34
square
#52571A #1A573E #1F1A57 #571A34
split-complementary
#52571A #1A3457 #3E1A57
monochromatic
#161807 #26280C #52571A #7E8628 #ABB536

Accessibility & contrast

On white

7.67
#52571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52571A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52571A#FFFFFF#000000##FFFFFF
##52571A1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#5D541E
Tritanopia (blue-blind)
#58524B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #52571a;
/* rgb */ color: rgb(82, 87, 26);
/* oklch */ color: oklch(43.9% 0.083 113.8);
Tailwind
colors: {
  custom: {
    50: '#85865a',
    500: '#52571a',
    950: '#000000',
  },
}
SCSS
$custom: #52571a;
$custom-light: #85865a;
$custom-dark: #000000;
JSON
{
  "hex": "#52571a",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 64.918,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.0827,
    "h": 113.8
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#52571A
secondary
#46408D
accent
#4ADD56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #52571A

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

Preview Lab → · Contrast checker → · Palette generator →

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