#524B15#524B15

#524B15 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.073 H 101.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#524B15
RGBrgb(82, 75, 21)
HSLhsl(53, 59%, 20%)
HSVhsv(53, 74%, 32%)
CMYKcmyk(0%, 8.5%, 74.4%, 67.8%)
CIE-LABlab(31.53, -4.36, 31.83)
CIE-LCHlch(31.53, 32.12, 97.79°)
OKLaboklab(40.83% -0.015 0.0714)
OKLCHoklch(40.83% 0.073 101.8)
XYZxyz(6.1314, 6.8804, 1.7144)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524B15 #151C52
analogous
#522D15 #524B15 #3A5215
triadic
#524B15 #15524B #4B1552
tetradic
#524B15 #15522D #151C52 #52153A
square
#524B15 #15522D #151C52 #52153A
split-complementary
#524B15 #153A52 #2D1552
monochromatic
#181606 #211E09 #524B15 #837821 #B3A42E

Accessibility & contrast

On white

8.84
#524B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#524B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524B15
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524B15#FFFFFF#000000##FFFFFF
##524B151.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52490D
Deuteranopia (green-blind)
#554B18
Tritanopia (blue-blind)
#594540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #524b15;
/* rgb */ color: rgb(82, 75, 21);
/* oklch */ color: oklch(40.8% 0.073 101.8);
Tailwind
colors: {
  custom: {
    50: '#857d56',
    500: '#524b15',
    950: '#000000',
  },
}
SCSS
$custom: #524b15;
$custom-light: #857d56;
$custom-dark: #000000;
JSON
{
  "hex": "#524b15",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 53.115,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.0729,
    "h": 101.8
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#524B15
secondary
#39428A
accent
#57E245
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524B15

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

Preview Lab → · Contrast checker → · Palette generator →

#524B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva