#524916#524916

#524916 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.3% C 0.070 H 99.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#524916
RGBrgb(82, 73, 22)
HSLhsl(51, 58%, 20%)
HSVhsv(51, 73%, 32%)
CMYKcmyk(0%, 11%, 73.2%, 67.8%)
CIE-LABlab(30.92, -3.07, 30.71)
CIE-LCHlch(30.92, 30.87, 95.71°)
OKLaboklab(40.34% -0.0112 0.0692)
OKLCHoklch(40.34% 0.07 99.2)
XYZxyz(6.0073, 6.6171, 1.7197)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524916 #161F52
analogous
#522B16 #524916 #3D5216
triadic
#524916 #165249 #491652
tetradic
#524916 #16522B #161F52 #52163D
square
#524916 #16522B #161F52 #52163D
split-complementary
#524916 #163D52 #2B1652
monochromatic
#181506 #221E09 #524916 #827423 #B39F30

Accessibility & contrast

On white

9.04
#524916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#524916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524916
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524916#FFFFFF#000000##FFFFFF
##5249161.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#59433E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #524916;
/* rgb */ color: rgb(82, 73, 22);
/* oklch */ color: oklch(40.3% 0.070 99.2);
Tailwind
colors: {
  custom: {
    50: '#857b56',
    500: '#524916',
    950: '#000000',
  },
}
SCSS
$custom: #524916;
$custom-light: #857b56;
$custom-dark: #000000;
JSON
{
  "hex": "#524916",
  "rgb": {
    "r": 82,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 51,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.0701,
    "h": 99.2
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#524916
secondary
#3A4689
accent
#5EE147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524916

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

Preview Lab → · Contrast checker → · Palette generator →

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