#535112#535112

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

Color values

HEX#535112
RGBrgb(83, 81, 18)
HSLhsl(58, 64%, 20%)
HSVhsv(58, 78%, 33%)
CMYKcmyk(0%, 2.4%, 78.3%, 67.5%)
CIE-LABlab(33.49, -7.63, 35.13)
CIE-LCHlch(33.49, 35.94, 102.25°)
OKLaboklab(42.41% -0.0246 0.0777)
OKLCHoklch(42.41% 0.081 107.6)
XYZxyz(6.6191, 7.7678, 1.7228)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535112 #121453
analogous
#533112 #535112 #355312
triadic
#535112 #125351 #511253
tetradic
#535112 #125331 #121453 #531235
square
#535112 #125331 #121453 #531235
split-complementary
#535112 #123553 #311253
monochromatic
#191905 #212007 #535112 #85821D #B8B328

Accessibility & contrast

On white

8.22
#535112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#535112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535112
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535112#FFFFFF#000000##FFFFFF
##5351121.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E07
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#5A4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #535112;
/* rgb */ color: rgb(83, 81, 18);
/* oklch */ color: oklch(42.4% 0.081 107.6);
Tailwind
colors: {
  custom: {
    50: '#868155',
    500: '#535112',
    950: '#000000',
  },
}
SCSS
$custom: #535112;
$custom-light: #868155;
$custom-dark: #000000;
JSON
{
  "hex": "#535112",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 58.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42406,
    "c": 0.08148,
    "h": 107.6
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#535112
secondary
#35388C
accent
#46E740
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535112

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

Preview Lab → · Contrast checker → · Palette generator →

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