#524A12#524A12

#524A12 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.6% C 0.074 H 101.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#524A12
RGBrgb(82, 74, 18)
HSLhsl(53, 64%, 20%)
HSVhsv(53, 78%, 32%)
CMYKcmyk(0%, 9.8%, 78%, 67.8%)
CIE-LABlab(31.20, -3.93, 32.86)
CIE-LCHlch(31.20, 33.09, 96.82°)
OKLaboklab(40.55% -0.0141 0.0729)
OKLCHoklch(40.55% 0.074 101)
XYZxyz(6.0379, 6.7353, 1.5542)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524A12 #121A52
analogous
#522A12 #524A12 #3A5212
triadic
#524A12 #12524A #4A1252
tetradic
#524A12 #12522A #121A52 #52123A
square
#524A12 #12522A #121A52 #52123A
split-complementary
#524A12 #123A52 #2A1252
monochromatic
#191706 #201D07 #524A12 #84771D #B6A528

Accessibility & contrast

On white

8.95
#524A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#524A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524A12
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524A12#FFFFFF#000000##FFFFFF
##524A121.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#59443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #524a12;
/* rgb */ color: rgb(82, 74, 18);
/* oklch */ color: oklch(40.6% 0.074 101.0);
Tailwind
colors: {
  custom: {
    50: '#857c54',
    500: '#524a12',
    950: '#000000',
  },
}
SCSS
$custom: #524a12;
$custom-light: #857c54;
$custom-dark: #000000;
JSON
{
  "hex": "#524a12",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 52.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.07427,
    "h": 101
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#524A12
secondary
#35408B
accent
#56E741
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524A12

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

Preview Lab → · Contrast checker → · Palette generator →

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