#525211#525211

#525211 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.084 H 109.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#525211
RGBrgb(82, 82, 17)
HSLhsl(60, 66%, 19%)
HSVhsv(60, 79%, 32%)
CMYKcmyk(0%, 0%, 79.3%, 67.8%)
CIE-LABlab(33.71, -8.77, 35.70)
CIE-LCHlch(33.71, 36.76, 103.79°)
OKLaboklab(42.55% -0.0278 0.0787)
OKLCHoklch(42.55% 0.084 109.5)
XYZxyz(6.5984, 7.8691, 1.7015)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525211 #111152
analogous
#523211 #525211 #325211
triadic
#525211 #115252 #521152
tetradic
#525211 #115232 #111152 #521132
square
#525211 #115232 #111152 #521132
split-complementary
#525211 #113252 #321152
monochromatic
#191905 #1F1F06 #525211 #85851C #B7B726

Accessibility & contrast

On white

8.16
#525211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#525211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525211
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525211#FFFFFF#000000##FFFFFF
##5252111.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#584C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525211;
/* rgb */ color: rgb(82, 82, 17);
/* oklch */ color: oklch(42.6% 0.084 109.5);
Tailwind
colors: {
  custom: {
    50: '#858255',
    500: '#525211',
    950: '#000000',
  },
}
SCSS
$custom: #525211;
$custom-light: #858255;
$custom-dark: #000000;
JSON
{
  "hex": "#525211",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.08351,
    "h": 109.5
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#525211
secondary
#34348B
accent
#3FE93F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525211

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

Preview Lab → · Contrast checker → · Palette generator →

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