#535312#535312

#535312 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.084 H 109.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#535312
RGBrgb(83, 83, 18)
HSLhsl(60, 64%, 20%)
HSVhsv(60, 78%, 33%)
CMYKcmyk(0%, 0%, 78.3%, 67.5%)
CIE-LABlab(34.13, -8.80, 35.73)
CIE-LCHlch(34.13, 36.80, 103.84°)
OKLaboklab(42.91% -0.0279 0.079)
OKLCHoklch(42.91% 0.084 109.5)
XYZxyz(6.7700, 8.0694, 1.7731)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535312 #121253
analogous
#533312 #535312 #335312
triadic
#535312 #125353 #531253
tetradic
#535312 #125333 #121253 #531233
square
#535312 #125333 #121253 #531233
split-complementary
#535312 #123353 #331253
monochromatic
#191905 #212107 #535312 #85851D #B8B828

Accessibility & contrast

On white

8.03
#535312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#535312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535312
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535312#FFFFFF#000000##FFFFFF
##5353121.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#594D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #535312;
/* rgb */ color: rgb(83, 83, 18);
/* oklch */ color: oklch(42.9% 0.084 109.5);
Tailwind
colors: {
  custom: {
    50: '#868355',
    500: '#535312',
    950: '#000000',
  },
}
SCSS
$custom: #535312;
$custom-light: #868355;
$custom-dark: #000000;
JSON
{
  "hex": "#535312",
  "rgb": {
    "r": 83,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.08373,
    "h": 109.5
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#535312
secondary
#35358C
accent
#40E740
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535312

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

Preview Lab → · Contrast checker → · Palette generator →

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