#524212#524212

#524212 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.6% C 0.068 H 90.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#524212
RGBrgb(82, 66, 18)
HSLhsl(45, 64%, 20%)
HSVhsv(45, 78%, 32%)
CMYKcmyk(0%, 19.5%, 78%, 67.8%)
CIE-LABlab(28.73, 1.02, 30.41)
CIE-LCHlch(28.73, 30.43, 88.08°)
OKLaboklab(38.6% 0 0.0677)
OKLCHoklch(38.6% 0.068 90)
XYZxyz(5.5374, 5.7343, 1.3873)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524212 #122252
analogous
#522212 #524212 #425212
triadic
#524212 #125242 #421252
tetradic
#524212 #125222 #122252 #521242
square
#524212 #125222 #122252 #521242
split-complementary
#524212 #124252 #221252
monochromatic
#191406 #201A07 #524212 #846A1D #B69328

Accessibility & contrast

On white

9.78
#524212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#524212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524212
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524212#FFFFFF#000000##FFFFFF
##5242121.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410B
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#593C38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #524212;
/* rgb */ color: rgb(82, 66, 18);
/* oklch */ color: oklch(38.6% 0.068 90.0);
Tailwind
colors: {
  custom: {
    50: '#857653',
    500: '#524212',
    950: '#000000',
  },
}
SCSS
$custom: #524212;
$custom-light: #857653;
$custom-dark: #000000;
JSON
{
  "hex": "#524212",
  "rgb": {
    "r": 82,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.06774,
    "h": 90
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#524212
secondary
#354A8B
accent
#6AE741
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #524212

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

Preview Lab → · Contrast checker → · Palette generator →

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