#535215#535215

#535215 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.080 H 108.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#535215
RGBrgb(83, 82, 21)
HSLhsl(59, 60%, 20%)
HSVhsv(59, 75%, 33%)
CMYKcmyk(0%, 1.2%, 74.7%, 67.5%)
CIE-LABlab(33.83, -8.04, 34.17)
CIE-LCHlch(33.83, 35.11, 103.24°)
OKLaboklab(42.68% -0.0254 0.0763)
OKLCHoklch(42.68% 0.08 108.4)
XYZxyz(6.7202, 7.9279, 1.8856)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535215 #151653
analogous
#533315 #535215 #355315
triadic
#535215 #155352 #521553
tetradic
#535215 #155333 #151653 #531535
square
#535215 #155333 #151653 #531535
split-complementary
#535215 #153553 #331553
monochromatic
#181806 #222209 #535215 #848221 #B5B32E

Accessibility & contrast

On white

8.12
#535215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#535215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535215
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535215#FFFFFF#000000##FFFFFF
##5352151.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#594C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #535215;
/* rgb */ color: rgb(83, 82, 21);
/* oklch */ color: oklch(42.7% 0.080 108.4);
Tailwind
colors: {
  custom: {
    50: '#868257',
    500: '#535215',
    950: '#000000',
  },
}
SCSS
$custom: #535215;
$custom-light: #868257;
$custom-dark: #000000;
JSON
{
  "hex": "#535215",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 59.032,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.0804,
    "h": 108.4
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#535215
secondary
#393A8B
accent
#48E345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535215

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

Preview Lab → · Contrast checker → · Palette generator →

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