#535A17#535A17

#535A17 is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.7% C 0.089 H 115.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#535A17
RGBrgb(83, 90, 23)
HSLhsl(66, 59%, 22%)
HSVhsv(66, 74%, 35%)
CMYKcmyk(7.8%, 0%, 74.4%, 64.7%)
CIE-LABlab(36.39, -12.53, 35.86)
CIE-LCHlch(36.39, 37.98, 109.27°)
OKLaboklab(44.74% -0.0378 0.0802)
OKLCHoklch(44.74% 0.089 115.2)
XYZxyz(7.3783, 9.2133, 2.2001)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535A17 #1E175A
analogous
#5A4017 #535A17 #315A17
triadic
#535A17 #17535A #5A1753
tetradic
#535A17 #175A40 #1E175A #5A1731
square
#535A17 #175A40 #1E175A #5A1731
split-complementary
#535A17 #17315A #40175A
monochromatic
#161806 #26290B #535A17 #808B23 #ADBB30

Accessibility & contrast

On white

7.39
#535A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#535A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535A17
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535A17#FFFFFF#000000##FFFFFF
##535A171.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#59544D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #535a17;
/* rgb */ color: rgb(83, 90, 23);
/* oklch */ color: oklch(44.7% 0.089 115.2);
Tailwind
colors: {
  custom: {
    50: '#868859',
    500: '#535a17',
    950: '#000000',
  },
}
SCSS
$custom: #535a17;
$custom-light: #868859;
$custom-dark: #000000;
JSON
{
  "hex": "#535a17",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 66.269,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.08865,
    "h": 115.2
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#535A17
secondary
#453C91
accent
#45E256
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535A17

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

Preview Lab → · Contrast checker → · Palette generator →

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