#525040#525040

#525040 is a dark, muted yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.025 H 101.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#525040
RGBrgb(82, 80, 64)
HSLhsl(53, 12%, 29%)
HSVhsv(53, 22%, 32%)
CMYKcmyk(0%, 2.4%, 22%, 67.8%)
CIE-LABlab(33.78, -2.27, 9.75)
CIE-LCHlch(33.78, 10.01, 103.13°)
OKLaboklab(42.83% -0.0051 0.025)
OKLCHoklch(42.83% 0.025 101.5)
XYZxyz(7.2737, 7.9014, 5.9914)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525040 #404252
analogous
#524740 #525040 #4B5240
triadic
#525040 #405250 #504052
tetradic
#525040 #405247 #404252 #52404B
square
#525040 #405247 #404252 #52404B
split-complementary
#525040 #404B52 #474052
monochromatic
#11110D #302E25 #525040 #74725B #959277

Accessibility & contrast

On white

8.14
#525040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #525040
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525040#FFFFFF#000000##FFFFFF
##5250401.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F3F
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#554E4C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525040;
/* rgb */ color: rgb(82, 80, 64);
/* oklch */ color: oklch(42.8% 0.025 101.5);
Tailwind
colors: {
  custom: {
    50: '#828174',
    500: '#525040',
    950: '#000000',
  },
}
SCSS
$custom: #525040;
$custom-light: #828174;
$custom-dark: #000000;
JSON
{
  "hex": "#525040",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 53.333,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.02547,
    "h": 101.5
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#525040
secondary
#6D6F81
accent
#7AB573
background
#F8F7F7
surface
#EFEEED
border
#CAC9C8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #525040

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

Preview Lab → · Contrast checker → · Palette generator →

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