#5A5D16#5A5D16

#5A5D16 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.1% C 0.091 H 111.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5A5D16
RGBrgb(90, 93, 22)
HSLhsl(63, 62%, 23%)
HSVhsv(63, 76%, 36%)
CMYKcmyk(3.2%, 0%, 76.3%, 63.5%)
CIE-LABlab(37.95, -10.93, 38.02)
CIE-LCHlch(37.95, 39.56, 106.05°)
OKLaboklab(46.13% -0.0339 0.0843)
OKLCHoklch(46.13% 0.091 111.9)
XYZxyz(8.2759, 10.0605, 2.2648)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5D16 #19165D
analogous
#5D3C16 #5A5D16 #375D16
triadic
#5A5D16 #165A5D #5D165A
tetradic
#5A5D16 #165D3C #19165D #5D1637
square
#5A5D16 #165D3C #19165D #5D1637
split-complementary
#5A5D16 #16375D #3C165D
monochromatic
#181906 #2A2C0A #5A5D16 #8A8E22 #BAC02D

Accessibility & contrast

On white

6.97
#5A5D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5A5D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5D16
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5D16#FFFFFF#000000##FFFFFF
##5A5D161.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655809
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#61574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a5d16;
/* rgb */ color: rgb(90, 93, 22);
/* oklch */ color: oklch(46.1% 0.091 111.9);
Tailwind
colors: {
  custom: {
    50: '#8b8a59',
    500: '#5a5d16',
    950: '#000000',
  },
}
SCSS
$custom: #5a5d16;
$custom-light: #8b8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5d16",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 62.535,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.09086,
    "h": 111.9
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#5A5D16
secondary
#3E3B94
accent
#43E54A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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