#524712#524712

#524712 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.072 H 97.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#524712
RGBrgb(82, 71, 18)
HSLhsl(50, 64%, 20%)
HSVhsv(50, 78%, 32%)
CMYKcmyk(0%, 13.4%, 78%, 67.8%)
CIE-LABlab(30.27, -2.09, 31.94)
CIE-LCHlch(30.27, 32.01, 93.74°)
OKLaboklab(39.81% -0.0089 0.071)
OKLCHoklch(39.81% 0.072 97.1)
XYZxyz(5.8424, 6.3443, 1.4890)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524712 #121D52
analogous
#522712 #524712 #3D5212
triadic
#524712 #125247 #471252
tetradic
#524712 #125227 #121D52 #52123D
square
#524712 #125227 #121D52 #52123D
split-complementary
#524712 #123D52 #271252
monochromatic
#191606 #201C07 #524712 #84721D #B69E28

Accessibility & contrast

On white

9.26
#524712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#524712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524712
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524712#FFFFFF#000000##FFFFFF
##5247121.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450A
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#59413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #524712;
/* rgb */ color: rgb(82, 71, 18);
/* oklch */ color: oklch(39.8% 0.072 97.1);
Tailwind
colors: {
  custom: {
    50: '#857954',
    500: '#524712',
    950: '#000000',
  },
}
SCSS
$custom: #524712;
$custom-light: #857954;
$custom-dark: #000000;
JSON
{
  "hex": "#524712",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 49.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.07154,
    "h": 97.1
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#524712
secondary
#35448B
accent
#5DE741
background
#F8F7F4
surface
#F0EDE8
border
#CBC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524712

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

Preview Lab → · Contrast checker → · Palette generator →

#524712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva