#535212#535212

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

Color values

HEX#535212
RGBrgb(83, 82, 18)
HSLhsl(59, 64%, 20%)
HSVhsv(59, 78%, 33%)
CMYKcmyk(0%, 1.2%, 78.3%, 67.5%)
CIE-LABlab(33.81, -8.22, 35.43)
CIE-LCHlch(33.81, 36.37, 103.06°)
OKLaboklab(42.66% -0.0263 0.0783)
OKLCHoklch(42.66% 0.083 108.5)
XYZxyz(6.6940, 7.9175, 1.7478)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535212 #121353
analogous
#533212 #535212 #345312
triadic
#535212 #125352 #521253
tetradic
#535212 #125332 #121353 #531234
square
#535212 #125332 #121353 #531234
split-complementary
#535212 #123453 #321253
monochromatic
#191905 #212007 #535212 #85841D #B8B528

Accessibility & contrast

On white

8.13
#535212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#535212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535212
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535212#FFFFFF#000000##FFFFFF
##5352121.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#5A5117
Tritanopia (blue-blind)
#594C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #535212;
/* rgb */ color: rgb(83, 82, 18);
/* oklch */ color: oklch(42.7% 0.083 108.5);
Tailwind
colors: {
  custom: {
    50: '#868255',
    500: '#535212',
    950: '#000000',
  },
}
SCSS
$custom: #535212;
$custom-light: #868255;
$custom-dark: #000000;
JSON
{
  "hex": "#535212",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 59.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.0826,
    "h": 108.5
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#535212
secondary
#35368C
accent
#43E740
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535212

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

Preview Lab → · Contrast checker → · Palette generator →

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