#524812#524812

#524812 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.1% C 0.072 H 98.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#524812
RGBrgb(82, 72, 18)
HSLhsl(51, 64%, 20%)
HSVhsv(51, 78%, 32%)
CMYKcmyk(0%, 12.2%, 78%, 67.8%)
CIE-LABlab(30.57, -2.71, 32.25)
CIE-LCHlch(30.57, 32.36, 94.80°)
OKLaboklab(40.06% -0.0106 0.0716)
OKLCHoklch(40.06% 0.072 98.5)
XYZxyz(5.9065, 6.4725, 1.5104)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524812 #121C52
analogous
#522812 #524812 #3C5212
triadic
#524812 #125248 #481252
tetradic
#524812 #125228 #121C52 #52123C
square
#524812 #125228 #121C52 #52123C
split-complementary
#524812 #123C52 #281252
monochromatic
#191606 #201C07 #524812 #84741D #B6A028

Accessibility & contrast

On white

9.15
#524812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#524812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524812
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524812#FFFFFF#000000##FFFFFF
##5248121.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460A
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#59423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #524812;
/* rgb */ color: rgb(82, 72, 18);
/* oklch */ color: oklch(40.1% 0.072 98.5);
Tailwind
colors: {
  custom: {
    50: '#857a54',
    500: '#524812',
    950: '#000000',
  },
}
SCSS
$custom: #524812;
$custom-light: #857a54;
$custom-dark: #000000;
JSON
{
  "hex": "#524812",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 50.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.07241,
    "h": 98.5
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#524812
secondary
#35428B
accent
#5BE741
background
#F8F7F4
surface
#F0EDE8
border
#CBC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524812

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

Preview Lab → · Contrast checker → · Palette generator →

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