#524D18#524D18

#524D18 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.072 H 103.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#524D18
RGBrgb(82, 77, 24)
HSLhsl(55, 55%, 21%)
HSVhsv(55, 71%, 32%)
CMYKcmyk(0%, 6.1%, 70.7%, 67.8%)
CIE-LABlab(32.19, -5.36, 31.06)
CIE-LCHlch(32.19, 31.52, 99.79°)
OKLaboklab(41.36% -0.0174 0.0703)
OKLCHoklch(41.36% 0.072 103.9)
XYZxyz(6.2987, 7.1678, 1.9157)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524D18 #181D52
analogous
#523018 #524D18 #3A5218
triadic
#524D18 #18524D #4D1852
tetradic
#524D18 #185230 #181D52 #52183A
square
#524D18 #185230 #181D52 #52183A
split-complementary
#524D18 #183A52 #301852
monochromatic
#181607 #23210A #524D18 #817926 #B1A634

Accessibility & contrast

On white

8.63
#524D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#524D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524D18
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524D18#FFFFFF#000000##FFFFFF
##524D181.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#584742
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524d18;
/* rgb */ color: rgb(82, 77, 24);
/* oklch */ color: oklch(41.4% 0.072 103.9);
Tailwind
colors: {
  custom: {
    50: '#857e58',
    500: '#524d18',
    950: '#000000',
  },
}
SCSS
$custom: #524d18;
$custom-light: #857e58;
$custom-dark: #000000;
JSON
{
  "hex": "#524d18",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 54.828,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.07243,
    "h": 103.9
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#524D18
secondary
#3D4489
accent
#57DE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524D18

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

Preview Lab → · Contrast checker → · Palette generator →

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