#535117#535117

#535117 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.078 H 107.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#535117
RGBrgb(83, 81, 23)
HSLhsl(58, 57%, 21%)
HSVhsv(58, 72%, 33%)
CMYKcmyk(0%, 2.4%, 72.3%, 67.5%)
CIE-LABlab(33.53, -7.32, 32.97)
CIE-LCHlch(33.53, 33.77, 102.52°)
OKLaboklab(42.45% -0.0232 0.0741)
OKLCHoklch(42.45% 0.078 107.4)
XYZxyz(6.6646, 7.7859, 1.9622)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535117 #171953
analogous
#533317 #535117 #375317
triadic
#535117 #175351 #511753
tetradic
#535117 #175333 #171953 #531737
square
#535117 #175333 #171953 #531737
split-complementary
#535117 #173753 #331753
monochromatic
#181707 #23220A #535117 #838024 #B3AF32

Accessibility & contrast

On white

8.21
#535117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#535117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535117
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535117#FFFFFF#000000##FFFFFF
##5351171.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0F
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#594B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #535117;
/* rgb */ color: rgb(83, 81, 23);
/* oklch */ color: oklch(42.4% 0.078 107.4);
Tailwind
colors: {
  custom: {
    50: '#868158',
    500: '#535117',
    950: '#000000',
  },
}
SCSS
$custom: #535117;
$custom-light: #868158;
$custom-dark: #000000;
JSON
{
  "hex": "#535117",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 58,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.07765,
    "h": 107.4
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#535117
secondary
#3C3E8A
accent
#4DE048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535117

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

Preview Lab → · Contrast checker → · Palette generator →

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