#524A0F#524A0F

#524A0F is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.076 H 101.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#524A0F
RGBrgb(82, 74, 15)
HSLhsl(53, 69%, 19%)
HSVhsv(53, 82%, 32%)
CMYKcmyk(0%, 9.8%, 81.7%, 67.8%)
CIE-LABlab(31.18, -4.09, 34.11)
CIE-LCHlch(31.18, 34.36, 96.84°)
OKLaboklab(40.53% -0.0149 0.0749)
OKLCHoklch(40.53% 0.076 101.3)
XYZxyz(6.0150, 6.7262, 1.4333)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524A0F #0F1752
analogous
#52290F #524A0F #39520F
triadic
#524A0F #0F524A #4A0F52
tetradic
#524A0F #0F5229 #0F1752 #520F39
square
#524A0F #0F5229 #0F1752 #520F39
split-complementary
#524A0F #0F3952 #290F52
monochromatic
#1A1705 #1E1B06 #524A0F #867918 #B9A722

Accessibility & contrast

On white

8.95
#524A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #524A0F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524A0F#FFFFFF#000000##FFFFFF
##524A0F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#59443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #524a0f;
/* rgb */ color: rgb(82, 74, 15);
/* oklch */ color: oklch(40.5% 0.076 101.3);
Tailwind
colors: {
  custom: {
    50: '#857c53',
    500: '#524a0f',
    950: '#000000',
  },
}
SCSS
$custom: #524a0f;
$custom-light: #857c53;
$custom-dark: #000000;
JSON
{
  "hex": "#524a0f",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 52.836,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.0764,
    "h": 101.3
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#524A0F
secondary
#313C8C
accent
#51EC3C
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #524A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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