#524717#524717

#524717 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.067 H 96.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#524717
RGBrgb(82, 71, 23)
HSLhsl(49, 56%, 21%)
HSVhsv(49, 72%, 32%)
CMYKcmyk(0%, 13.4%, 72%, 67.8%)
CIE-LABlab(30.31, -1.77, 29.58)
CIE-LCHlch(30.31, 29.63, 93.43°)
OKLaboklab(39.86% -0.0073 0.067)
OKLCHoklch(39.86% 0.067 96.2)
XYZxyz(5.8878, 6.3625, 1.7284)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524717 #172252
analogous
#522A17 #524717 #3F5217
triadic
#524717 #175247 #471752
tetradic
#524717 #17522A #172252 #52173F
square
#524717 #17522A #172252 #52173F
split-complementary
#524717 #173F52 #2A1752
monochromatic
#181507 #221E0A #524717 #827024 #B29A32

Accessibility & contrast

On white

9.24
#524717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#524717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524717
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524717#FFFFFF#000000##FFFFFF
##5247171.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4511
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#59413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #524717;
/* rgb */ color: rgb(82, 71, 23);
/* oklch */ color: oklch(39.9% 0.067 96.2);
Tailwind
colors: {
  custom: {
    50: '#857a57',
    500: '#524717',
    950: '#000000',
  },
}
SCSS
$custom: #524717;
$custom-light: #857a57;
$custom-dark: #000000;
JSON
{
  "hex": "#524717",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 48.814,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.06739,
    "h": 96.2
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#524717
secondary
#3C4A89
accent
#65DF48
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524717

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

Preview Lab → · Contrast checker → · Palette generator →

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