#535017#535017

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

Color values

HEX#535017
RGBrgb(83, 80, 23)
HSLhsl(57, 57%, 21%)
HSVhsv(57, 72%, 33%)
CMYKcmyk(0%, 3.6%, 72.3%, 67.5%)
CIE-LABlab(33.22, -6.73, 32.64)
CIE-LCHlch(33.22, 33.33, 101.65°)
OKLaboklab(42.2% -0.0215 0.0734)
OKLCHoklch(42.2% 0.077 106.3)
XYZxyz(6.5908, 7.6384, 1.9376)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535017 #171A53
analogous
#533217 #535017 #385317
triadic
#535017 #175350 #501753
tetradic
#535017 #175332 #171A53 #531738
square
#535017 #175332 #171A53 #531738
split-complementary
#535017 #173853 #321753
monochromatic
#181707 #23220A #535017 #837E24 #B3AC32

Accessibility & contrast

On white

8.31
#535017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#535017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535017
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535017#FFFFFF#000000##FFFFFF
##5350171.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#594A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #535017;
/* rgb */ color: rgb(83, 80, 23);
/* oklch */ color: oklch(42.2% 0.077 106.3);
Tailwind
colors: {
  custom: {
    50: '#868058',
    500: '#535017',
    950: '#000000',
  },
}
SCSS
$custom: #535017;
$custom-light: #868058;
$custom-dark: #000000;
JSON
{
  "hex": "#535017",
  "rgb": {
    "r": 83,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 57,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.07651,
    "h": 106.3
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#535017
secondary
#3C408A
accent
#50E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #535017

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

Preview Lab → · Contrast checker → · Palette generator →

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