#524811#524811

#524811 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.1% C 0.073 H 98.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#524811
RGBrgb(82, 72, 17)
HSLhsl(51, 66%, 19%)
HSVhsv(51, 79%, 32%)
CMYKcmyk(0%, 12.2%, 79.3%, 67.8%)
CIE-LABlab(30.57, -2.76, 32.68)
CIE-LCHlch(30.57, 32.80, 94.83°)
OKLaboklab(40.05% -0.0109 0.0723)
OKLCHoklch(40.05% 0.073 98.6)
XYZxyz(5.8985, 6.4693, 1.4682)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524811 #111B52
analogous
#522811 #524811 #3C5211
triadic
#524811 #115248 #481152
tetradic
#524811 #115228 #111B52 #52113C
square
#524811 #115228 #111B52 #52113C
split-complementary
#524811 #113C52 #281152
monochromatic
#191605 #1F1B06 #524811 #85751C #B7A126

Accessibility & contrast

On white

9.16
#524811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#524811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524811
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524811#FFFFFF#000000##FFFFFF
##5248111.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#534914
Tritanopia (blue-blind)
#59423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #524811;
/* rgb */ color: rgb(82, 72, 17);
/* oklch */ color: oklch(40.1% 0.073 98.6);
Tailwind
colors: {
  custom: {
    50: '#857a53',
    500: '#524811',
    950: '#000000',
  },
}
SCSS
$custom: #524811;
$custom-light: #857a53;
$custom-dark: #000000;
JSON
{
  "hex": "#524811",
  "rgb": {
    "r": 82,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 50.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40051,
    "c": 0.07316,
    "h": 98.6
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#524811
secondary
#34418B
accent
#59E93F
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524811

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

Preview Lab → · Contrast checker → · Palette generator →

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