#5A5511#5A5511

#5A5511 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.085 H 105.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5A5511
RGBrgb(90, 85, 17)
HSLhsl(56, 68%, 21%)
HSVhsv(56, 81%, 35%)
CMYKcmyk(0%, 5.6%, 81.1%, 64.7%)
CIE-LABlab(35.42, -6.56, 37.59)
CIE-LCHlch(35.42, 38.16, 99.90°)
OKLaboklab(44.11% -0.0221 0.0824)
OKLCHoklch(44.11% 0.085 105)
XYZxyz(7.5665, 8.7114, 1.8131)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5511 #11165A
analogous
#5A3011 #5A5511 #3A5A11
triadic
#5A5511 #115A55 #55115A
tetradic
#5A5511 #115A30 #11165A #5A113A
square
#5A5511 #115A30 #11165A #5A113A
split-complementary
#5A5511 #113A5A #30115A
monochromatic
#1A1805 #272407 #5A5511 #8D861B #C1B624

Accessibility & contrast

On white

7.66
#5A5511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5A5511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5511
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5511#FFFFFF#000000##FFFFFF
##5A55111.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5204
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#614F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a5511;
/* rgb */ color: rgb(90, 85, 17);
/* oklch */ color: oklch(44.1% 0.085 105.0);
Tailwind
colors: {
  custom: {
    50: '#8b8455',
    500: '#5a5511',
    950: '#000000',
  },
}
SCSS
$custom: #5a5511;
$custom-light: #8b8455;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5511",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 55.89,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.08531,
    "h": 105
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#5A5511
secondary
#343A93
accent
#49EB3D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5511

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

Preview Lab → · Contrast checker → · Palette generator →

#5A5511 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva