#524F11#524F11

#524F11 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.8% C 0.080 H 106.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#524F11
RGBrgb(82, 79, 17)
HSLhsl(57, 66%, 19%)
HSVhsv(57, 79%, 32%)
CMYKcmyk(0%, 3.7%, 79.3%, 67.8%)
CIE-LABlab(32.76, -6.99, 34.80)
CIE-LCHlch(32.76, 35.49, 101.37°)
OKLaboklab(41.79% -0.0229 0.0768)
OKLCHoklch(41.79% 0.08 106.6)
XYZxyz(6.3771, 7.4265, 1.6277)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524F11 #111452
analogous
#522F11 #524F11 #355211
triadic
#524F11 #11524F #4F1152
tetradic
#524F11 #11522F #111452 #521135
square
#524F11 #11522F #111452 #521135
split-complementary
#524F11 #113552 #2F1152
monochromatic
#191805 #1F1E06 #524F11 #85801C #B7B126

Accessibility & contrast

On white

8.45
#524F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#524F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524F11
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524F11#FFFFFF#000000##FFFFFF
##524F111.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C06
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#594943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #524f11;
/* rgb */ color: rgb(82, 79, 17);
/* oklch */ color: oklch(41.8% 0.080 106.6);
Tailwind
colors: {
  custom: {
    50: '#858054',
    500: '#524f11',
    950: '#000000',
  },
}
SCSS
$custom: #524f11;
$custom-light: #858054;
$custom-dark: #000000;
JSON
{
  "hex": "#524f11",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 57.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.08015,
    "h": 106.6
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#524F11
secondary
#34388B
accent
#47E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #524F11

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

Preview Lab → · Contrast checker → · Palette generator →

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