#535342#535342

#535342 is a dark, muted yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.027 H 107.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#535342
RGBrgb(83, 83, 66)
HSLhsl(60, 11%, 29%)
HSVhsv(60, 20%, 33%)
CMYKcmyk(0%, 0%, 20.5%, 67.5%)
CIE-LABlab(34.84, -3.32, 9.99)
CIE-LCHlch(34.84, 10.53, 108.37°)
OKLaboklab(43.71% -0.008 0.0256)
OKLCHoklch(43.71% 0.027 107.5)
XYZxyz(7.6438, 8.4189, 6.3755)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535342 #424253
analogous
#534B42 #535342 #4B5342
triadic
#535342 #425353 #534253
tetradic
#535342 #42534B #424253 #53424B
square
#535342 #42534B #424253 #53424B
split-complementary
#535342 #424B53 #4B4253
monochromatic
#11110E #313127 #535342 #75755D #95957A

Accessibility & contrast

On white

7.82
#535342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#535342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535342
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535342#FFFFFF#000000##FFFFFF
##5353421.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565141
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#56514E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #535342;
/* rgb */ color: rgb(83, 83, 66);
/* oklch */ color: oklch(43.7% 0.027 107.5);
Tailwind
colors: {
  custom: {
    50: '#838376',
    500: '#535342',
    950: '#000000',
  },
}
SCSS
$custom: #535342;
$custom-light: #838376;
$custom-dark: #000000;
JSON
{
  "hex": "#535342",
  "rgb": {
    "r": 83,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 11.409,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.0268,
    "h": 107.5
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#535342
secondary
#6F6F82
accent
#73B473
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0A0A08
muted
#7C7C7B

Preview Lab

Preview with #535342

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

Preview Lab → · Contrast checker → · Palette generator →

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