#535012#535012

#535012 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.2% C 0.080 H 106.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#535012
RGBrgb(83, 80, 18)
HSLhsl(57, 64%, 20%)
HSVhsv(57, 78%, 33%)
CMYKcmyk(0%, 3.6%, 78.3%, 67.5%)
CIE-LABlab(33.18, -7.03, 34.82)
CIE-LCHlch(33.18, 35.53, 101.42°)
OKLaboklab(42.15% -0.023 0.077)
OKLCHoklch(42.15% 0.08 106.6)
XYZxyz(6.5454, 7.6202, 1.6982)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535012 #121553
analogous
#533012 #535012 #355312
triadic
#535012 #125350 #501253
tetradic
#535012 #125330 #121553 #531235
square
#535012 #125330 #121553 #531235
split-complementary
#535012 #123553 #301253
monochromatic
#191805 #212007 #535012 #85801D #B8B128

Accessibility & contrast

On white

8.32
#535012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#535012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535012
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535012#FFFFFF#000000##FFFFFF
##5350121.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D07
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#5A4A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #535012;
/* rgb */ color: rgb(83, 80, 18);
/* oklch */ color: oklch(42.2% 0.080 106.6);
Tailwind
colors: {
  custom: {
    50: '#868055',
    500: '#535012',
    950: '#000000',
  },
}
SCSS
$custom: #535012;
$custom-light: #868055;
$custom-dark: #000000;
JSON
{
  "hex": "#535012",
  "rgb": {
    "r": 83,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 57.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.08038,
    "h": 106.6
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#535012
secondary
#35398C
accent
#48E740
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535012

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

Preview Lab → · Contrast checker → · Palette generator →

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