#535517#535517

#535517 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.082 H 111.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#535517
RGBrgb(83, 85, 23)
HSLhsl(62, 57%, 21%)
HSVhsv(62, 73%, 33%)
CMYKcmyk(2.4%, 0%, 72.9%, 66.7%)
CIE-LABlab(34.80, -9.67, 34.25)
CIE-LCHlch(34.80, 35.59, 105.76°)
OKLaboklab(43.46% -0.0298 0.0768)
OKLCHoklch(43.46% 0.082 111.2)
XYZxyz(6.9707, 8.3980, 2.0642)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535517 #191755
analogous
#553817 #535517 #345517
triadic
#535517 #175355 #551753
tetradic
#535517 #175538 #191755 #551734
square
#535517 #175538 #191755 #551734
split-complementary
#535517 #173455 #381755
monochromatic
#181807 #24250A #535517 #828524 #B1B531

Accessibility & contrast

On white

7.84
#535517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #535517
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535517#FFFFFF#000000##FFFFFF
##5355171.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510E
Deuteranopia (green-blind)
#5C531B
Tritanopia (blue-blind)
#594F49
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #535517;
/* rgb */ color: rgb(83, 85, 23);
/* oklch */ color: oklch(43.5% 0.082 111.2);
Tailwind
colors: {
  custom: {
    50: '#868458',
    500: '#535517',
    950: '#000000',
  },
}
SCSS
$custom: #535517;
$custom-light: #868458;
$custom-dark: #000000;
JSON
{
  "hex": "#535517",
  "rgb": {
    "r": 83,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 61.935,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43459,
    "c": 0.08239,
    "h": 111.2
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#535517
secondary
#3E3C8C
accent
#47E14C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535517

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

Preview Lab → · Contrast checker → · Palette generator →

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