#524716#524716

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

Color values

HEX#524716
RGBrgb(82, 71, 22)
HSLhsl(49, 58%, 20%)
HSVhsv(49, 73%, 32%)
CMYKcmyk(0%, 13.4%, 73.2%, 67.8%)
CIE-LABlab(30.30, -1.84, 30.07)
CIE-LCHlch(30.30, 30.13, 93.50°)
OKLaboklab(39.85% -0.0076 0.0678)
OKLCHoklch(39.85% 0.068 96.4)
XYZxyz(5.8780, 6.3585, 1.6766)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524716 #162152
analogous
#522916 #524716 #3F5216
triadic
#524716 #165247 #471652
tetradic
#524716 #165229 #162152 #52163F
square
#524716 #165229 #162152 #52163F
split-complementary
#524716 #163F52 #291652
monochromatic
#181506 #221D09 #524716 #827123 #B39B30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524716#FFFFFF#000000##FFFFFF
##5247161.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)
#4F4510
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#59413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #524716;
/* rgb */ color: rgb(82, 71, 22);
/* oklch */ color: oklch(39.9% 0.068 96.4);
Tailwind
colors: {
  custom: {
    50: '#857956',
    500: '#524716',
    950: '#000000',
  },
}
SCSS
$custom: #524716;
$custom-light: #857956;
$custom-dark: #000000;
JSON
{
  "hex": "#524716",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 49,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39853,
    "c": 0.06827,
    "h": 96.4
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#524716
secondary
#3A4989
accent
#63E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524716

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

Preview Lab → · Contrast checker → · Palette generator →

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