#525038#525038

#525038 is a dark, muted yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.037 H 103.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#525038
RGBrgb(82, 80, 56)
HSLhsl(55, 19%, 27%)
HSVhsv(55, 32%, 32%)
CMYKcmyk(0%, 2.4%, 31.7%, 67.8%)
CIE-LABlab(33.60, -3.58, 14.48)
CIE-LCHlch(33.60, 14.92, 103.90°)
OKLaboklab(42.63% -0.0089 0.0363)
OKLCHoklch(42.63% 0.037 103.8)
XYZxyz(7.0622, 7.8168, 4.8774)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525038 #383A52
analogous
#524338 #525038 #475238
triadic
#525038 #385250 #503852
tetradic
#525038 #385243 #383A52 #523847
square
#525038 #385243 #383A52 #523847
split-complementary
#525038 #384752 #433852
monochromatic
#12120C #2E2D1F #525038 #767351 #9A966B

Accessibility & contrast

On white

8.19
#525038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#525038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525038
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525038#FFFFFF#000000##FFFFFF
##5250381.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544E36
Deuteranopia (green-blind)
#555039
Tritanopia (blue-blind)
#564D4A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525038;
/* rgb */ color: rgb(82, 80, 56);
/* oklch */ color: oklch(42.6% 0.037 103.8);
Tailwind
colors: {
  custom: {
    50: '#83816e',
    500: '#525038',
    950: '#000000',
  },
}
SCSS
$custom: #525038;
$custom-light: #83816e;
$custom-dark: #000000;
JSON
{
  "hex": "#525038",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 56
  },
  "hsl": {
    "h": 55.385,
    "s": 18.841,
    "l": 27.059
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.03741,
    "h": 103.8
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#525038
secondary
#646682
accent
#72BB6C
background
#F8F7F6
surface
#EFEEEC
border
#CAC9C7
text
#0A0A07
muted
#7C7C7A

Preview Lab

Preview with #525038

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

Preview Lab → · Contrast checker → · Palette generator →

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