#5A5D13#5A5D13

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

Color values

HEX#5A5D13
RGBrgb(90, 93, 19)
HSLhsl(62, 66%, 22%)
HSVhsv(62, 80%, 36%)
CMYKcmyk(3.2%, 0%, 79.6%, 63.5%)
CIE-LABlab(37.93, -11.09, 39.17)
CIE-LCHlch(37.93, 40.71, 105.81°)
OKLaboklab(46.11% -0.0346 0.0862)
OKLCHoklch(46.11% 0.093 111.9)
XYZxyz(8.2486, 10.0496, 2.1212)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5D13 #16135D
analogous
#5D3B13 #5A5D13 #355D13
triadic
#5A5D13 #135A5D #5D135A
tetradic
#5A5D13 #135D3B #16135D #5D1335
square
#5A5D13 #135D3B #16135D #5D1335
split-complementary
#5A5D13 #13355D #3B135D
monochromatic
#191905 #292A09 #5A5D13 #8B901D #BCC328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A5D13#FFFFFF#000000##FFFFFF
##5A5D131.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)
#655804
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#61574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a5d13;
/* rgb */ color: rgb(90, 93, 19);
/* oklch */ color: oklch(46.1% 0.093 111.9);
Tailwind
colors: {
  custom: {
    50: '#8b8a57',
    500: '#5a5d13',
    950: '#000000',
  },
}
SCSS
$custom: #5a5d13;
$custom-light: #8b8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5d13",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 62.432,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.09286,
    "h": 111.9
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#5A5D13
secondary
#3B3795
accent
#3FE946
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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