#524715#524715

#524715 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.069 H 96.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#524715
RGBrgb(82, 71, 21)
HSLhsl(49, 59%, 20%)
HSVhsv(49, 74%, 32%)
CMYKcmyk(0%, 13.4%, 74.4%, 67.8%)
CIE-LABlab(30.29, -1.91, 30.55)
CIE-LCHlch(30.29, 30.61, 93.57°)
OKLaboklab(39.84% -0.008 0.0687)
OKLCHoklch(39.84% 0.069 96.6)
XYZxyz(5.8685, 6.3548, 1.6268)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524715 #152052
analogous
#522815 #524715 #3F5215
triadic
#524715 #155247 #471552
tetradic
#524715 #155228 #152052 #52153F
square
#524715 #155228 #152052 #52153F
split-complementary
#524715 #153F52 #281552
monochromatic
#181506 #211D09 #524715 #837121 #B39B2E

Accessibility & contrast

On white

9.25
#524715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#524715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524715
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524715#FFFFFF#000000##FFFFFF
##5247151.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450E
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#59413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #524715;
/* rgb */ color: rgb(82, 71, 21);
/* oklch */ color: oklch(39.8% 0.069 96.6);
Tailwind
colors: {
  custom: {
    50: '#857955',
    500: '#524715',
    950: '#000000',
  },
}
SCSS
$custom: #524715;
$custom-light: #857955;
$custom-dark: #000000;
JSON
{
  "hex": "#524715",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 21
  },
  "hsl": {
    "h": 49.18,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.06912,
    "h": 96.6
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#524715
secondary
#39488A
accent
#62E245
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524715

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

Preview Lab → · Contrast checker → · Palette generator →

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