#524211#524211

#524211 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.6% C 0.069 H 90.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#524211
RGBrgb(82, 66, 17)
HSLhsl(45, 66%, 19%)
HSVhsv(45, 79%, 32%)
CMYKcmyk(0%, 19.5%, 79.3%, 67.8%)
CIE-LABlab(28.72, 0.96, 30.87)
CIE-LCHlch(28.72, 30.89, 88.21°)
OKLaboklab(38.59% -0.0003 0.0685)
OKLCHoklch(38.59% 0.069 90.3)
XYZxyz(5.5294, 5.7311, 1.3452)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524211 #112152
analogous
#522211 #524211 #425211
triadic
#524211 #115242 #421152
tetradic
#524211 #115222 #112152 #521142
square
#524211 #115222 #112152 #521142
split-complementary
#524211 #114252 #221152
monochromatic
#191405 #1F1906 #524211 #856B1C #B79426

Accessibility & contrast

On white

9.78
#524211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#524211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524211
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524211#FFFFFF#000000##FFFFFF
##5242111.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410A
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#593C38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #524211;
/* rgb */ color: rgb(82, 66, 17);
/* oklch */ color: oklch(38.6% 0.069 90.3);
Tailwind
colors: {
  custom: {
    50: '#857653',
    500: '#524211',
    950: '#000000',
  },
}
SCSS
$custom: #524211;
$custom-light: #857653;
$custom-dark: #000000;
JSON
{
  "hex": "#524211",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 17
  },
  "hsl": {
    "h": 45.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38594,
    "c": 0.0685,
    "h": 90.3
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#524211
secondary
#34498B
accent
#69E93F
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #524211

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

Preview Lab → · Contrast checker → · Palette generator →

#524211 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva