#5A4E13#5A4E13

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

Color values

HEX#5A4E13
RGBrgb(90, 78, 19)
HSLhsl(50, 65%, 21%)
HSVhsv(50, 79%, 35%)
CMYKcmyk(0%, 13.3%, 78.9%, 64.7%)
CIE-LABlab(33.29, -2.27, 34.75)
CIE-LCHlch(33.29, 34.82, 93.74°)
OKLaboklab(42.41% -0.0098 0.0768)
OKLCHoklch(42.41% 0.077 97.3)
XYZxyz(7.0587, 7.6698, 1.7246)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E13 #131F5A
analogous
#5A2B13 #5A4E13 #435A13
triadic
#5A4E13 #135A4E #4E135A
tetradic
#5A4E13 #135A2B #131F5A #5A1343
square
#5A4E13 #135A2B #131F5A #5A1343
split-complementary
#5A4E13 #13435A #2B135A
monochromatic
#191605 #272208 #5A4E13 #8D7A1E #BFA628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A4E13#FFFFFF#000000##FFFFFF
##5A4E131.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)
#574C09
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#624742
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5a4e13;
/* rgb */ color: rgb(90, 78, 19);
/* oklch */ color: oklch(42.4% 0.077 97.3);
Tailwind
colors: {
  custom: {
    50: '#8b7f55',
    500: '#5a4e13',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e13;
$custom-light: #8b7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e13",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 49.859,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.07741,
    "h": 97.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#5A4E13
secondary
#374692
accent
#5CE840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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