#535B1B#535B1B

#535B1B is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.087 H 116.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#535B1B
RGBrgb(83, 91, 27)
HSLhsl(68, 54%, 23%)
HSVhsv(68, 70%, 36%)
CMYKcmyk(8.8%, 0%, 70.3%, 64.3%)
CIE-LABlab(36.74, -12.82, 34.43)
CIE-LCHlch(36.74, 36.74, 110.43°)
OKLaboklab(45.03% -0.0381 0.0779)
OKLCHoklch(45.03% 0.087 116.1)
XYZxyz(7.5064, 9.4004, 2.4557)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#535B1B #231B5B
analogous
#5B431B #535B1B #335B1B
triadic
#535B1B #1B535B #5B1B53
tetradic
#535B1B #1B5B43 #231B5B #5B1B33
square
#535B1B #1B5B43 #231B5B #5B1B33
split-complementary
#535B1B #1B335B #431B5B
monochromatic
#161807 #282C0D #535B1B #7E8A29 #A9B937

Accessibility & contrast

On white

7.29
#535B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#535B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #535B1B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##535B1B#FFFFFF#000000##FFFFFF
##535B1B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625612
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#58564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #535b1b;
/* rgb */ color: rgb(83, 91, 27);
/* oklch */ color: oklch(45.0% 0.087 116.1);
Tailwind
colors: {
  custom: {
    50: '#85895b',
    500: '#535b1b',
    950: '#000000',
  },
}
SCSS
$custom: #535b1b;
$custom-light: #85895b;
$custom-dark: #000000;
JSON
{
  "hex": "#535b1b",
  "rgb": {
    "r": 83,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 67.5,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.08674,
    "h": 116.1
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#535B1B
secondary
#4B4191
accent
#4ADE5D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #535B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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