#535D17#535D17

#535D17 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.093 H 117.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#535D17
RGBrgb(83, 93, 23)
HSLhsl(69, 60%, 23%)
HSVhsv(69, 75%, 36%)
CMYKcmyk(10.8%, 0%, 75.3%, 63.5%)
CIE-LABlab(37.35, -14.22, 36.81)
CIE-LCHlch(37.35, 39.46, 111.12°)
OKLaboklab(45.51% -0.0424 0.0822)
OKLCHoklch(45.51% 0.093 117.3)
XYZxyz(7.6365, 9.7296, 2.2862)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535D17 #21175D
analogous
#5D4417 #535D17 #305D17
triadic
#535D17 #17535D #5D1753
tetradic
#535D17 #175D44 #21175D #5D1730
square
#535D17 #175D44 #21175D #5D1730
split-complementary
#535D17 #17305D #44175D
monochromatic
#161906 #272C0B #535D17 #7F8E23 #ABBF2F

Accessibility & contrast

On white

7.13
#535D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#535D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535D17
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535D17#FFFFFF#000000##FFFFFF
##535D171.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#58574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #535d17;
/* rgb */ color: rgb(83, 93, 23);
/* oklch */ color: oklch(45.5% 0.093 117.3);
Tailwind
colors: {
  custom: {
    50: '#868a59',
    500: '#535d17',
    950: '#000000',
  },
}
SCSS
$custom: #535d17;
$custom-light: #868a59;
$custom-dark: #000000;
JSON
{
  "hex": "#535d17",
  "rgb": {
    "r": 83,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 68.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45506,
    "c": 0.09252,
    "h": 117.3
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#535D17
secondary
#493C94
accent
#44E35B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535D17

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

Preview Lab → · Contrast checker → · Palette generator →

#535D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva