#5A4F13#5A4F13

#5A4F13 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.078 H 98.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5A4F13
RGBrgb(90, 79, 19)
HSLhsl(51, 65%, 21%)
HSVhsv(51, 79%, 35%)
CMYKcmyk(0%, 12.2%, 78.9%, 64.7%)
CIE-LABlab(33.59, -2.88, 35.04)
CIE-LCHlch(33.59, 35.16, 94.69°)
OKLaboklab(42.65% -0.0115 0.0774)
OKLCHoklch(42.65% 0.078 98.5)
XYZxyz(7.1303, 7.8130, 1.7485)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4F13 #131E5A
analogous
#5A2C13 #5A4F13 #425A13
triadic
#5A4F13 #135A4F #4F135A
tetradic
#5A4F13 #135A2C #131E5A #5A1342
square
#5A4F13 #135A2C #131E5A #5A1342
split-complementary
#5A4F13 #13425A #2C135A
monochromatic
#191605 #272308 #5A4F13 #8D7B1E #BFA828

Accessibility & contrast

On white

8.19
#5A4F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5A4F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4F13
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4F13#FFFFFF#000000##FFFFFF
##5A4F131.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D09
Deuteranopia (green-blind)
#5A5117
Tritanopia (blue-blind)
#624943
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5a4f13;
/* rgb */ color: rgb(90, 79, 19);
/* oklch */ color: oklch(42.7% 0.078 98.5);
Tailwind
colors: {
  custom: {
    50: '#8b8055',
    500: '#5a4f13',
    950: '#000000',
  },
}
SCSS
$custom: #5a4f13;
$custom-light: #8b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4f13",
  "rgb": {
    "r": 90,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 50.704,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.07826,
    "h": 98.5
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#5A4F13
secondary
#374592
accent
#5AE840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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