#524312#524312

#524312 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.8% C 0.068 H 91.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#524312
RGBrgb(82, 67, 18)
HSLhsl(46, 64%, 20%)
HSVhsv(46, 78%, 32%)
CMYKcmyk(0%, 18.3%, 78%, 67.8%)
CIE-LABlab(29.04, 0.39, 30.72)
CIE-LCHlch(29.04, 30.72, 89.26°)
OKLaboklab(38.84% -0.0018 0.0684)
OKLCHoklch(38.84% 0.068 91.5)
XYZxyz(5.5963, 5.8522, 1.4070)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524312 #122152
analogous
#522312 #524312 #415212
triadic
#524312 #125243 #431252
tetradic
#524312 #125223 #122152 #521241
square
#524312 #125223 #122152 #521241
split-complementary
#524312 #124152 #231252
monochromatic
#191506 #201A07 #524312 #846C1D #B69528

Accessibility & contrast

On white

9.68
#524312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#524312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524312
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524312#FFFFFF#000000##FFFFFF
##5243121.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420B
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#593D39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #524312;
/* rgb */ color: rgb(82, 67, 18);
/* oklch */ color: oklch(38.8% 0.068 91.5);
Tailwind
colors: {
  custom: {
    50: '#857653',
    500: '#524312',
    950: '#000000',
  },
}
SCSS
$custom: #524312;
$custom-light: #857653;
$custom-dark: #000000;
JSON
{
  "hex": "#524312",
  "rgb": {
    "r": 82,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 45.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.06841,
    "h": 91.5
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#524312
secondary
#35498B
accent
#68E741
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #524312

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

Preview Lab → · Contrast checker → · Palette generator →

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