#524A15#524A15

#524A15 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.6% C 0.072 H 100.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#524A15
RGBrgb(82, 74, 21)
HSLhsl(52, 59%, 20%)
HSVhsv(52, 74%, 32%)
CMYKcmyk(0%, 9.8%, 74.4%, 67.8%)
CIE-LABlab(31.22, -3.75, 31.51)
CIE-LCHlch(31.22, 31.73, 96.78°)
OKLaboklab(40.58% -0.0132 0.0707)
OKLCHoklch(40.58% 0.072 100.6)
XYZxyz(6.0641, 6.7458, 1.6920)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524A15 #151D52
analogous
#522B15 #524A15 #3B5215
triadic
#524A15 #15524A #4A1552
tetradic
#524A15 #15522B #151D52 #52153B
square
#524A15 #15522B #151D52 #52153B
split-complementary
#524A15 #153B52 #2B1552
monochromatic
#181606 #211E09 #524A15 #837621 #B3A22E

Accessibility & contrast

On white

8.94
#524A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#524A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524A15
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524A15#FFFFFF#000000##FFFFFF
##524A151.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480E
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#59443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #524a15;
/* rgb */ color: rgb(82, 74, 21);
/* oklch */ color: oklch(40.6% 0.072 100.6);
Tailwind
colors: {
  custom: {
    50: '#857c56',
    500: '#524a15',
    950: '#000000',
  },
}
SCSS
$custom: #524a15;
$custom-light: #857c56;
$custom-dark: #000000;
JSON
{
  "hex": "#524a15",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 52.131,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.07191,
    "h": 100.6
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#524A15
secondary
#39448A
accent
#5AE245
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524A15

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

Preview Lab → · Contrast checker → · Palette generator →

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