#525217#525217

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

Color values

HEX#525217
RGBrgb(82, 82, 23)
HSLhsl(60, 56%, 21%)
HSVhsv(60, 72%, 32%)
CMYKcmyk(0%, 0%, 72%, 67.8%)
CIE-LABlab(33.75, -8.41, 33.16)
CIE-LCHlch(33.75, 34.21, 104.23°)
OKLaboklab(42.6% -0.0261 0.0746)
OKLCHoklch(42.6% 0.079 109.3)
XYZxyz(6.6518, 7.8905, 1.9831)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525217 #171752
analogous
#523417 #525217 #345217
triadic
#525217 #175252 #521752
tetradic
#525217 #175234 #171752 #521734
square
#525217 #175234 #171752 #521734
split-complementary
#525217 #173452 #341752
monochromatic
#181807 #22220A #525217 #828224 #B2B232

Accessibility & contrast

On white

8.15
#525217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#525217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525217
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525217#FFFFFF#000000##FFFFFF
##5252171.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #525217;
/* rgb */ color: rgb(82, 82, 23);
/* oklch */ color: oklch(42.6% 0.079 109.3);
Tailwind
colors: {
  custom: {
    50: '#858258',
    500: '#525217',
    950: '#000000',
  },
}
SCSS
$custom: #525217;
$custom-light: #858258;
$custom-dark: #000000;
JSON
{
  "hex": "#525217",
  "rgb": {
    "r": 82,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.079,
    "h": 109.3
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#525217
secondary
#3C3C89
accent
#48DF48
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525217

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

Preview Lab → · Contrast checker → · Palette generator →

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