#535A22#535A22

#535A22 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.079 H 115.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#535A22
RGBrgb(83, 90, 34)
HSLhsl(68, 45%, 24%)
HSVhsv(68, 62%, 35%)
CMYKcmyk(7.8%, 0%, 62.2%, 64.7%)
CIE-LABlab(36.49, -11.69, 30.74)
CIE-LCHlch(36.49, 32.88, 110.82°)
OKLaboklab(44.85% -0.0341 0.0712)
OKLCHoklch(44.85% 0.079 115.6)
XYZxyz(7.5123, 9.2669, 2.9060)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535A22 #29225A
analogous
#5A4522 #535A22 #375A22
triadic
#535A22 #22535A #5A2253
tetradic
#535A22 #225A45 #29225A #5A2237
square
#535A22 #225A45 #29225A #5A2237
split-complementary
#535A22 #22375A #45225A
monochromatic
#141608 #2A2E11 #535A22 #7C8633 #A5B344

Accessibility & contrast

On white

7.36
#535A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#535A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535A22
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535A22#FFFFFF#000000##FFFFFF
##535A221.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551C
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#58554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #535a22;
/* rgb */ color: rgb(83, 90, 34);
/* oklch */ color: oklch(44.8% 0.079 115.6);
Tailwind
colors: {
  custom: {
    50: '#85885f',
    500: '#535a22',
    950: '#000000',
  },
}
SCSS
$custom: #535a22;
$custom-light: #85885f;
$custom-dark: #000000;
JSON
{
  "hex": "#535a22",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 34
  },
  "hsl": {
    "h": 67.5,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.07893,
    "h": 115.6
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#535A22
secondary
#524A8E
accent
#53D563
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #535A22

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

Preview Lab → · Contrast checker → · Palette generator →

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