#5A4E11#5A4E11

#5A4E11 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.079 H 97.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5A4E11
RGBrgb(90, 78, 17)
HSLhsl(50, 68%, 21%)
HSVhsv(50, 81%, 35%)
CMYKcmyk(0%, 13.3%, 81.1%, 64.7%)
CIE-LABlab(33.27, -2.37, 35.57)
CIE-LCHlch(33.27, 35.65, 93.81°)
OKLaboklab(42.4% -0.0103 0.0781)
OKLCHoklch(42.4% 0.079 97.5)
XYZxyz(7.0424, 7.6633, 1.6384)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E11 #111D5A
analogous
#5A2911 #5A4E11 #415A11
triadic
#5A4E11 #115A4E #4E115A
tetradic
#5A4E11 #115A29 #111D5A #5A1141
square
#5A4E11 #115A29 #111D5A #5A1141
split-complementary
#5A4E11 #11415A #29115A
monochromatic
#1A1605 #272107 #5A4E11 #8D7B1B #C1A724

Accessibility & contrast

On white

8.29
#5A4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5A4E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E11
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E11#FFFFFF#000000##FFFFFF
##5A4E111.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#624742
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e11;
/* rgb */ color: rgb(90, 78, 17);
/* oklch */ color: oklch(42.4% 0.079 97.5);
Tailwind
colors: {
  custom: {
    50: '#8c7f54',
    500: '#5a4e11',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e11;
$custom-light: #8c7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e11",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 50.137,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.07878,
    "h": 97.5
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#5A4E11
secondary
#344493
accent
#59EB3D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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