#524512#524512

#524512 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.070 H 94.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#524512
RGBrgb(82, 69, 18)
HSLhsl(48, 64%, 20%)
HSVhsv(48, 78%, 32%)
CMYKcmyk(0%, 15.9%, 78%, 67.8%)
CIE-LABlab(29.65, -0.85, 31.33)
CIE-LCHlch(29.65, 31.34, 91.56°)
OKLaboklab(39.33% -0.0054 0.0697)
OKLCHoklch(39.33% 0.07 94.4)
XYZxyz(5.7173, 6.0941, 1.4473)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524512 #121F52
analogous
#522512 #524512 #3F5212
triadic
#524512 #125245 #451252
tetradic
#524512 #125225 #121F52 #52123F
square
#524512 #125225 #121F52 #52123F
split-complementary
#524512 #123F52 #251252
monochromatic
#191506 #201B07 #524512 #846F1D #B69928

Accessibility & contrast

On white

9.46
#524512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#524512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524512
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524512#FFFFFF#000000##FFFFFF
##5245121.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#593F3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #524512;
/* rgb */ color: rgb(82, 69, 18);
/* oklch */ color: oklch(39.3% 0.070 94.4);
Tailwind
colors: {
  custom: {
    50: '#857853',
    500: '#524512',
    950: '#000000',
  },
}
SCSS
$custom: #524512;
$custom-light: #857853;
$custom-dark: #000000;
JSON
{
  "hex": "#524512",
  "rgb": {
    "r": 82,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 47.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.06989,
    "h": 94.4
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#524512
secondary
#35468B
accent
#63E741
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #524512

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

Preview Lab → · Contrast checker → · Palette generator →

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