#535116#535116

#535116 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#535116
RGBrgb(83, 81, 22)
HSLhsl(58, 58%, 21%)
HSVhsv(58, 73%, 33%)
CMYKcmyk(0%, 2.4%, 73.5%, 67.5%)
CIE-LABlab(33.52, -7.39, 33.42)
CIE-LCHlch(33.52, 34.22, 102.47°)
OKLaboklab(42.44% -0.0235 0.0749)
OKLCHoklch(42.44% 0.078 107.4)
XYZxyz(6.6548, 7.7820, 1.9104)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535116 #161853
analogous
#533216 #535116 #365316
triadic
#535116 #165351 #511653
tetradic
#535116 #165332 #161853 #531636
square
#535116 #165332 #161853 #531636
split-complementary
#535116 #163653 #321653
monochromatic
#181806 #232209 #535116 #838023 #B4AF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##535116#FFFFFF#000000##FFFFFF
##5351161.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)
#584E0D
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#594B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #535116;
/* rgb */ color: rgb(83, 81, 22);
/* oklch */ color: oklch(42.4% 0.078 107.4);
Tailwind
colors: {
  custom: {
    50: '#868157',
    500: '#535116',
    950: '#000000',
  },
}
SCSS
$custom: #535116;
$custom-light: #868157;
$custom-dark: #000000;
JSON
{
  "hex": "#535116",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 58.033,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.07847,
    "h": 107.4
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#535116
secondary
#3A3D8A
accent
#4CE146
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535116

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

Preview Lab → · Contrast checker → · Palette generator →

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