#5A5113#5A5113

#5A5113 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.080 H 100.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5A5113
RGBrgb(90, 81, 19)
HSLhsl(52, 65%, 21%)
HSVhsv(52, 79%, 35%)
CMYKcmyk(0%, 10%, 78.9%, 64.7%)
CIE-LABlab(34.20, -4.08, 35.63)
CIE-LCHlch(34.20, 35.87, 96.53°)
OKLaboklab(43.14% -0.0149 0.0787)
OKLCHoklch(43.14% 0.08 100.8)
XYZxyz(7.2768, 8.1059, 1.7973)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5113 #131C5A
analogous
#5A2E13 #5A5113 #405A13
triadic
#5A5113 #135A51 #51135A
tetradic
#5A5113 #135A2E #131C5A #5A1340
square
#5A5113 #135A2E #131C5A #5A1340
split-complementary
#5A5113 #13405A #2E135A
monochromatic
#191705 #272408 #5A5113 #8D7E1E #BFAC28

Accessibility & contrast

On white

8.01
#5A5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5A5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5113
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5113#FFFFFF#000000##FFFFFF
##5A51131.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#624B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5a5113;
/* rgb */ color: rgb(90, 81, 19);
/* oklch */ color: oklch(43.1% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#8b8156',
    500: '#5a5113',
    950: '#000000',
  },
}
SCSS
$custom: #5a5113;
$custom-light: #8b8156;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5113",
  "rgb": {
    "r": 90,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 52.394,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.08007,
    "h": 100.8
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#5A5113
secondary
#374292
accent
#55E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5113

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

Preview Lab → · Contrast checker → · Palette generator →

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