#524816#524816

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

Color values

HEX#524816
RGBrgb(82, 72, 22)
HSLhsl(50, 58%, 20%)
HSVhsv(50, 73%, 32%)
CMYKcmyk(0%, 12.2%, 73.2%, 67.8%)
CIE-LABlab(30.61, -2.46, 30.39)
CIE-LCHlch(30.61, 30.49, 94.62°)
OKLaboklab(40.1% -0.0094 0.0685)
OKLCHoklch(40.1% 0.069 97.8)
XYZxyz(5.9421, 6.4868, 1.6980)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524816 #162052
analogous
#522A16 #524816 #3E5216
triadic
#524816 #165248 #481652
tetradic
#524816 #16522A #162052 #52163E
square
#524816 #16522A #162052 #52163E
split-complementary
#524816 #163E52 #2A1652
monochromatic
#181506 #221E09 #524816 #827223 #B39D30

Accessibility & contrast

On white

9.14
#524816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#524816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524816
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524816#FFFFFF#000000##FFFFFF
##5248161.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504610
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#59423E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #524816;
/* rgb */ color: rgb(82, 72, 22);
/* oklch */ color: oklch(40.1% 0.069 97.8);
Tailwind
colors: {
  custom: {
    50: '#857a56',
    500: '#524816',
    950: '#000000',
  },
}
SCSS
$custom: #524816;
$custom-light: #857a56;
$custom-dark: #000000;
JSON
{
  "hex": "#524816",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 50,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.06916,
    "h": 97.8
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#524816
secondary
#3A4889
accent
#61E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524816

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

Preview Lab → · Contrast checker → · Palette generator →

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