#525517#525517

#525517 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.083 H 112.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#525517
RGBrgb(82, 85, 23)
HSLhsl(63, 57%, 21%)
HSVhsv(63, 73%, 33%)
CMYKcmyk(3.5%, 0%, 72.9%, 66.7%)
CIE-LABlab(34.71, -10.16, 34.13)
CIE-LCHlch(34.71, 35.61, 106.57°)
OKLaboklab(43.36% -0.0311 0.0766)
OKLCHoklch(43.36% 0.083 112.1)
XYZxyz(6.8830, 8.3529, 2.0601)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525517 #1A1755
analogous
#553917 #525517 #335517
triadic
#525517 #175255 #551752
tetradic
#525517 #175539 #1A1755 #551733
square
#525517 #175539 #1A1755 #551733
split-complementary
#525517 #173355 #391755
monochromatic
#171807 #24250A #525517 #808524 #AFB531

Accessibility & contrast

On white

7.86
#525517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#525517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525517
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525517#FFFFFF#000000##FFFFFF
##5255171.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510E
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#585049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #525517;
/* rgb */ color: rgb(82, 85, 23);
/* oklch */ color: oklch(43.4% 0.083 112.1);
Tailwind
colors: {
  custom: {
    50: '#858458',
    500: '#525517',
    950: '#000000',
  },
}
SCSS
$custom: #525517;
$custom-light: #858458;
$custom-dark: #000000;
JSON
{
  "hex": "#525517",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 62.903,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.08266,
    "h": 112.1
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#525517
secondary
#403C8C
accent
#47E14F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525517

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

Preview Lab → · Contrast checker → · Palette generator →

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