#524D13#524D13

#524D13 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.3% C 0.077 H 104.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#524D13
RGBrgb(82, 77, 19)
HSLhsl(55, 62%, 20%)
HSVhsv(55, 77%, 32%)
CMYKcmyk(0%, 6.1%, 76.8%, 67.8%)
CIE-LABlab(32.14, -5.69, 33.35)
CIE-LCHlch(32.14, 33.83, 99.68°)
OKLaboklab(41.31% -0.019 0.0742)
OKLCHoklch(41.31% 0.077 104.3)
XYZxyz(6.2514, 7.1489, 1.6665)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524D13 #131852
analogous
#522E13 #524D13 #385213
triadic
#524D13 #13524D #4D1352
tetradic
#524D13 #13522E #131852 #521338
square
#524D13 #13522E #131852 #521338
split-complementary
#524D13 #133852 #2E1352
monochromatic
#191706 #201E07 #524D13 #847C1F #B5AA2A

Accessibility & contrast

On white

8.64
#524D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#524D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524D13
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524D13#FFFFFF#000000##FFFFFF
##524D131.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0A
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#594742
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524d13;
/* rgb */ color: rgb(82, 77, 19);
/* oklch */ color: oklch(41.3% 0.077 104.3);
Tailwind
colors: {
  custom: {
    50: '#857e55',
    500: '#524d13',
    950: '#000000',
  },
}
SCSS
$custom: #524d13;
$custom-light: #857e55;
$custom-dark: #000000;
JSON
{
  "hex": "#524d13",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 55.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.07655,
    "h": 104.3
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#524D13
secondary
#363D8A
accent
#4FE542
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524D13

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

Preview Lab → · Contrast checker → · Palette generator →

#524D13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva