#52542E#52542E

#52542E is a dark, muted yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.057 H 111.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#52542E
RGBrgb(82, 84, 46)
HSLhsl(63, 29%, 25%)
HSVhsv(63, 45%, 33%)
CMYKcmyk(2.4%, 0%, 45.2%, 67.1%)
CIE-LABlab(34.66, -7.38, 21.90)
CIE-LCHlch(34.66, 23.11, 108.62°)
OKLaboklab(43.42% -0.0205 0.0531)
OKLCHoklch(43.42% 0.057 111.2)
XYZxyz(7.1432, 8.3319, 3.8162)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52542E #302E54
analogous
#54432E #52542E #3F542E
triadic
#52542E #2E5254 #542E52
tetradic
#52542E #2E5443 #302E54 #542E3F
square
#52542E #2E5443 #302E54 #542E3F
split-complementary
#52542E #2E3F54 #432E54
monochromatic
#13140B #2B2C18 #52542E #797C44 #9FA359

Accessibility & contrast

On white

7.88
#52542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#52542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52542E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52542E#FFFFFF#000000##FFFFFF
##52542E1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#57504B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #52542e;
/* rgb */ color: rgb(82, 84, 46);
/* oklch */ color: oklch(43.4% 0.057 111.2);
Tailwind
colors: {
  custom: {
    50: '#838467',
    500: '#52542e',
    950: '#000000',
  },
}
SCSS
$custom: #52542e;
$custom-light: #838467;
$custom-dark: #000000;
JSON
{
  "hex": "#52542e",
  "rgb": {
    "r": 82,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 63.158,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.05688,
    "h": 111.2
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#52542E
secondary
#5B5886
accent
#62C568
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0A06
muted
#7C7C7A

Preview Lab

Preview with #52542E

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

Preview Lab → · Contrast checker → · Palette generator →

#52542E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva