#5A5A13#5A5A13

#5A5A13 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.089 H 109.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5A5A13
RGBrgb(90, 90, 19)
HSLhsl(60, 65%, 21%)
HSVhsv(60, 79%, 35%)
CMYKcmyk(0%, 0%, 78.9%, 64.7%)
CIE-LABlab(36.99, -9.38, 38.29)
CIE-LCHlch(36.99, 39.42, 103.76°)
OKLaboklab(45.36% -0.0298 0.0843)
OKLCHoklch(45.36% 0.089 109.5)
XYZxyz(7.9904, 9.5332, 2.0352)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5A13 #13135A
analogous
#5A3713 #5A5A13 #375A13
triadic
#5A5A13 #135A5A #5A135A
tetradic
#5A5A13 #135A37 #13135A #5A1337
square
#5A5A13 #135A37 #13135A #5A1337
split-complementary
#5A5A13 #13375A #37135A
monochromatic
#191905 #272708 #5A5A13 #8D8D1E #BFBF28

Accessibility & contrast

On white

7.22
#5A5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5A5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5A13
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5A13#FFFFFF#000000##FFFFFF
##5A5A131.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#61544C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a5a13;
/* rgb */ color: rgb(90, 90, 19);
/* oklch */ color: oklch(45.4% 0.089 109.5);
Tailwind
colors: {
  custom: {
    50: '#8b8857',
    500: '#5a5a13',
    950: '#000000',
  },
}
SCSS
$custom: #5a5a13;
$custom-light: #8b8857;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5a13",
  "rgb": {
    "r": 90,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.08941,
    "h": 109.5
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#5A5A13
secondary
#373792
accent
#40E840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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