#535712#535712

#535712 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.9% C 0.088 H 112.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#535712
RGBrgb(83, 87, 18)
HSLhsl(63, 66%, 21%)
HSVhsv(63, 79%, 34%)
CMYKcmyk(4.6%, 0%, 79.3%, 65.9%)
CIE-LABlab(35.40, -11.12, 36.94)
CIE-LCHlch(35.40, 38.58, 106.75°)
OKLaboklab(43.93% -0.0344 0.0815)
OKLCHoklch(43.93% 0.088 112.9)
XYZxyz(7.0849, 8.6992, 1.8781)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535712 #161257
analogous
#573812 #535712 #305712
triadic
#535712 #125357 #571253
tetradic
#535712 #125738 #161257 #571230
square
#535712 #125738 #161257 #571230
split-complementary
#535712 #123057 #381257
monochromatic
#181905 #232408 #535712 #838A1C #B4BC27

Accessibility & contrast

On white

7.66
#535712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#535712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535712
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535712#FFFFFF#000000##FFFFFF
##5357121.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5305
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#59514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #535712;
/* rgb */ color: rgb(83, 87, 18);
/* oklch */ color: oklch(43.9% 0.088 112.9);
Tailwind
colors: {
  custom: {
    50: '#868656',
    500: '#535712',
    950: '#000000',
  },
}
SCSS
$custom: #535712;
$custom-light: #868656;
$custom-dark: #000000;
JSON
{
  "hex": "#535712",
  "rgb": {
    "r": 83,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 63.478,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43928,
    "c": 0.08847,
    "h": 112.9
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#535712
secondary
#3A3590
accent
#3FE949
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #535712

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

Preview Lab → · Contrast checker → · Palette generator →

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