#535A1B#535A1B

#535A1B is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.8% C 0.085 H 115.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#535A1B
RGBrgb(83, 90, 27)
HSLhsl(67, 54%, 23%)
HSVhsv(67, 70%, 35%)
CMYKcmyk(7.8%, 0%, 70%, 64.7%)
CIE-LABlab(36.42, -12.26, 34.10)
CIE-LCHlch(36.42, 36.24, 109.78°)
OKLaboklab(44.77% -0.0366 0.0772)
OKLCHoklch(44.77% 0.085 115.3)
XYZxyz(7.4214, 9.2306, 2.4274)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535A1B #221B5A
analogous
#5A411B #535A1B #335A1B
triadic
#535A1B #1B535A #5A1B53
tetradic
#535A1B #1B5A41 #221B5A #5A1B33
square
#535A1B #1B5A41 #221B5A #5A1B33
split-complementary
#535A1B #1B335A #411B5A
monochromatic
#161807 #282B0D #535A1B #7E8929 #AAB837

Accessibility & contrast

On white

7.38
#535A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #535A1B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535A1B#FFFFFF#000000##FFFFFF
##535A1B1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#59554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #535a1b;
/* rgb */ color: rgb(83, 90, 27);
/* oklch */ color: oklch(44.8% 0.085 115.3);
Tailwind
colors: {
  custom: {
    50: '#85885b',
    500: '#535a1b',
    950: '#000000',
  },
}
SCSS
$custom: #535a1b;
$custom-light: #85885b;
$custom-dark: #000000;
JSON
{
  "hex": "#535a1b",
  "rgb": {
    "r": 83,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 66.667,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44772,
    "c": 0.08543,
    "h": 115.3
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#535A1B
secondary
#4A4190
accent
#4BDD5B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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