#535812#535812

#535812 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.2% C 0.090 H 113.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#535812
RGBrgb(83, 88, 18)
HSLhsl(64, 66%, 21%)
HSVhsv(64, 80%, 35%)
CMYKcmyk(5.7%, 0%, 79.5%, 65.5%)
CIE-LABlab(35.72, -11.69, 37.25)
CIE-LCHlch(35.72, 39.04, 107.43°)
OKLaboklab(44.18% -0.0359 0.0822)
OKLCHoklch(44.18% 0.09 113.6)
XYZxyz(7.1664, 8.8623, 1.9052)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535812 #171258
analogous
#583A12 #535812 #305812
triadic
#535812 #125358 #581253
tetradic
#535812 #12583A #171258 #581230
square
#535812 #12583A #171258 #581230
split-complementary
#535812 #123058 #3A1258
monochromatic
#181905 #232508 #535812 #838B1C #B3BE27

Accessibility & contrast

On white

7.57
#535812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#535812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535812
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535812#FFFFFF#000000##FFFFFF
##5358121.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#59524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #535812;
/* rgb */ color: rgb(83, 88, 18);
/* oklch */ color: oklch(44.2% 0.090 113.6);
Tailwind
colors: {
  custom: {
    50: '#868756',
    500: '#535812',
    950: '#000000',
  },
}
SCSS
$custom: #535812;
$custom-light: #868756;
$custom-dark: #000000;
JSON
{
  "hex": "#535812",
  "rgb": {
    "r": 83,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 64.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.08967,
    "h": 113.6
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#535812
secondary
#3C3591
accent
#3FE94B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535812

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

Preview Lab → · Contrast checker → · Palette generator →

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