#5A5D11#5A5D11

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

Color values

HEX#5A5D11
RGBrgb(90, 93, 17)
HSLhsl(62, 69%, 22%)
HSVhsv(62, 82%, 36%)
CMYKcmyk(3.2%, 0%, 81.7%, 63.5%)
CIE-LABlab(37.92, -11.19, 39.89)
CIE-LCHlch(37.92, 41.43, 105.67°)
OKLaboklab(46.1% -0.0351 0.0873)
OKLCHoklch(46.1% 0.094 111.9)
XYZxyz(8.2323, 10.0430, 2.0351)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5D11 #14115D
analogous
#5D3A11 #5A5D11 #345D11
triadic
#5A5D11 #115A5D #5D115A
tetradic
#5A5D11 #115D3A #14115D #5D1134
square
#5A5D11 #115D3A #14115D #5D1134
split-complementary
#5A5D11 #11345D #3A115D
monochromatic
#191A05 #282908 #5A5D11 #8C911A #BEC424

Accessibility & contrast

On white

6.98
#5A5D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A5D11
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5D11#FFFFFF#000000##FFFFFF
##5A5D111.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a5d11;
/* rgb */ color: rgb(90, 93, 17);
/* oklch */ color: oklch(46.1% 0.094 111.9);
Tailwind
colors: {
  custom: {
    50: '#8b8a56',
    500: '#5a5d11',
    950: '#000000',
  },
}
SCSS
$custom: #5a5d11;
$custom-light: #8b8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5d11",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 62.368,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46099,
    "c": 0.09406,
    "h": 111.9
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#5A5D11
secondary
#383496
accent
#3CEC43
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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