#535218#535218

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

Color values

HEX#535218
RGBrgb(83, 82, 24)
HSLhsl(59, 55%, 21%)
HSVhsv(59, 71%, 33%)
CMYKcmyk(0%, 1.2%, 71.1%, 67.5%)
CIE-LABlab(33.86, -7.85, 32.83)
CIE-LCHlch(33.86, 33.76, 103.44°)
OKLaboklab(42.71% -0.0245 0.074)
OKLCHoklch(42.71% 0.078 108.3)
XYZxyz(6.7497, 7.9397, 2.0409)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535218 #181953
analogous
#533418 #535218 #365318
triadic
#535218 #185352 #521853
tetradic
#535218 #185334 #181953 #531836
square
#535218 #185334 #181953 #531836
split-complementary
#535218 #183653 #341853
monochromatic
#181707 #24230A #535218 #828126 #B2B033

Accessibility & contrast

On white

8.11
#535218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #535218
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535218#FFFFFF#000000##FFFFFF
##5352181.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #535218;
/* rgb */ color: rgb(83, 82, 24);
/* oklch */ color: oklch(42.7% 0.078 108.3);
Tailwind
colors: {
  custom: {
    50: '#858258',
    500: '#535218',
    950: '#000000',
  },
}
SCSS
$custom: #535218;
$custom-light: #858258;
$custom-dark: #000000;
JSON
{
  "hex": "#535218",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 58.983,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.07797,
    "h": 108.3
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#535218
secondary
#3D3E8A
accent
#4CDE49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535218

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

Preview Lab → · Contrast checker → · Palette generator →

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