#5A5510#5A5510

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

Color values

HEX#5A5510
RGBrgb(90, 85, 16)
HSLhsl(56, 70%, 21%)
HSVhsv(56, 82%, 35%)
CMYKcmyk(0%, 5.6%, 82.2%, 64.7%)
CIE-LABlab(35.42, -6.61, 37.96)
CIE-LCHlch(35.42, 38.53, 99.87°)
OKLaboklab(44.1% -0.0224 0.083)
OKLCHoklch(44.1% 0.086 105.1)
XYZxyz(7.5588, 8.7084, 1.7728)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5510 #10155A
analogous
#5A3010 #5A5510 #3A5A10
triadic
#5A5510 #105A55 #55105A
tetradic
#5A5510 #105A30 #10155A #5A103A
square
#5A5510 #105A30 #10155A #5A103A
split-complementary
#5A5510 #103A5A #30105A
monochromatic
#1A1905 #262407 #5A5510 #8E8619 #C2B722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A5510#FFFFFF#000000##FFFFFF
##5A55101.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)
#5D5202
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#614F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a5510;
/* rgb */ color: rgb(90, 85, 16);
/* oklch */ color: oklch(44.1% 0.086 105.1);
Tailwind
colors: {
  custom: {
    50: '#8c8455',
    500: '#5a5510',
    950: '#000000',
  },
}
SCSS
$custom: #5a5510;
$custom-light: #8c8455;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5510",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 55.946,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.08592,
    "h": 105.1
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#5A5510
secondary
#333993
accent
#47ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5510

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

Preview Lab → · Contrast checker → · Palette generator →

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