#5A5611#5A5611

#5A5611 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.4% C 0.086 H 106.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5A5611
RGBrgb(90, 86, 17)
HSLhsl(57, 68%, 21%)
HSVhsv(57, 81%, 35%)
CMYKcmyk(0%, 4.4%, 81.1%, 64.7%)
CIE-LABlab(35.73, -7.15, 37.88)
CIE-LCHlch(35.73, 38.54, 100.69°)
OKLaboklab(44.35% -0.0238 0.083)
OKLCHoklch(44.35% 0.086 106)
XYZxyz(7.6457, 8.8700, 1.8395)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5611 #11155A
analogous
#5A3111 #5A5611 #395A11
triadic
#5A5611 #115A56 #56115A
tetradic
#5A5611 #115A31 #11155A #5A1139
square
#5A5611 #115A31 #11155A #5A1139
split-complementary
#5A5611 #11395A #31115A
monochromatic
#1A1905 #272507 #5A5611 #8D871B #C1B824

Accessibility & contrast

On white

7.57
#5A5611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5A5611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5611
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5611#FFFFFF#000000##FFFFFF
##5A56111.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#615049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a5611;
/* rgb */ color: rgb(90, 86, 17);
/* oklch */ color: oklch(44.4% 0.086 106.0);
Tailwind
colors: {
  custom: {
    50: '#8b8555',
    500: '#5a5611',
    950: '#000000',
  },
}
SCSS
$custom: #5a5611;
$custom-light: #8b8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5611",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 56.712,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44352,
    "c": 0.08634,
    "h": 106
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#5A5611
secondary
#343993
accent
#46EB3D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5611

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

Preview Lab → · Contrast checker → · Palette generator →

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