#5A5610#5A5610

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

Color values

HEX#5A5610
RGBrgb(90, 86, 16)
HSLhsl(57, 70%, 21%)
HSVhsv(57, 82%, 35%)
CMYKcmyk(0%, 4.4%, 82.2%, 64.7%)
CIE-LABlab(35.73, -7.19, 38.24)
CIE-LCHlch(35.73, 38.91, 100.65°)
OKLaboklab(44.35% -0.024 0.0836)
OKLCHoklch(44.35% 0.087 106)
XYZxyz(7.6381, 8.8669, 1.7993)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5610 #10145A
analogous
#5A3110 #5A5610 #395A10
triadic
#5A5610 #105A56 #56105A
tetradic
#5A5610 #105A31 #10145A #5A1039
square
#5A5610 #105A31 #10145A #5A1039
split-complementary
#5A5610 #10395A #31105A
monochromatic
#1A1905 #262407 #5A5610 #8E8819 #C2B922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A5610#FFFFFF#000000##FFFFFF
##5A56101.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)
#5E5202
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#615049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a5610;
/* rgb */ color: rgb(90, 86, 16);
/* oklch */ color: oklch(44.3% 0.087 106.0);
Tailwind
colors: {
  custom: {
    50: '#8b8555',
    500: '#5a5610',
    950: '#000000',
  },
}
SCSS
$custom: #5a5610;
$custom-light: #8b8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5610",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 16
  },
  "hsl": {
    "h": 56.757,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.08695,
    "h": 106
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#5A5610
secondary
#333893
accent
#45ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5610

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

Preview Lab → · Contrast checker → · Palette generator →

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