#5A4A10#5A4A10

#5A4A10 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.4% C 0.076 H 92.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5A4A10
RGBrgb(90, 74, 16)
HSLhsl(47, 70%, 21%)
HSVhsv(47, 82%, 35%)
CMYKcmyk(0%, 17.8%, 82.2%, 64.7%)
CIE-LABlab(32.05, 0.02, 34.84)
CIE-LCHlch(32.05, 34.84, 89.96°)
OKLaboklab(41.43% -0.0036 0.0763)
OKLCHoklch(41.43% 0.076 92.7)
XYZxyz(6.7591, 7.1090, 1.5063)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4A10 #10205A
analogous
#5A2510 #5A4A10 #455A10
triadic
#5A4A10 #105A4A #4A105A
tetradic
#5A4A10 #105A25 #10205A #5A1045
square
#5A4A10 #105A25 #10205A #5A1045
split-complementary
#5A4A10 #10455A #25105A
monochromatic
#1A1505 #261F07 #5A4A10 #8E7519 #C29F22

Accessibility & contrast

On white

8.67
#5A4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5A4A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4A10
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4A10#FFFFFF#000000##FFFFFF
##5A4A101.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#62433F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5a4a10;
/* rgb */ color: rgb(90, 74, 16);
/* oklch */ color: oklch(41.4% 0.076 92.7);
Tailwind
colors: {
  custom: {
    50: '#8c7c53',
    500: '#5a4a10',
    950: '#000000',
  },
}
SCSS
$custom: #5a4a10;
$custom-light: #8c7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4a10",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 47.027,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41432,
    "c": 0.07639,
    "h": 92.7
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#5A4A10
secondary
#334793
accent
#62ED3B
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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