#5A551C#5A551C

#5A551C is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.2% C 0.077 H 104.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5A551C
RGBrgb(90, 85, 28)
HSLhsl(55, 53%, 23%)
HSVhsv(55, 69%, 35%)
CMYKcmyk(0%, 5.6%, 68.9%, 64.7%)
CIE-LABlab(35.51, -5.90, 32.86)
CIE-LCHlch(35.51, 33.38, 100.19°)
OKLaboklab(44.2% -0.019 0.0746)
OKLCHoklch(44.2% 0.077 104.3)
XYZxyz(7.6748, 8.7548, 2.3840)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A551C #1C215A
analogous
#5A361C #5A551C #405A1C
triadic
#5A551C #1C5A55 #551C5A
tetradic
#5A551C #1C5A36 #1C215A #5A1C40
square
#5A551C #1C5A36 #1C215A #5A1C40
split-complementary
#5A551C #1C405A #361C5A
monochromatic
#171607 #2B290D #5A551C #89812B #B7AD39

Accessibility & contrast

On white

7.63
#5A551C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5A551C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A551C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A551C#FFFFFF#000000##FFFFFF
##5A551C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5215
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#614F49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a551c;
/* rgb */ color: rgb(90, 85, 28);
/* oklch */ color: oklch(44.2% 0.077 104.3);
Tailwind
colors: {
  custom: {
    50: '#8b845b',
    500: '#5a551c',
    950: '#000000',
  },
}
SCSS
$custom: #5a551c;
$custom-light: #8b845b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a551c",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 28
  },
  "hsl": {
    "h": 55.161,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.442,
    "c": 0.07693,
    "h": 104.3
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#5A551C
secondary
#42498F
accent
#57DC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5A551C

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

Preview Lab → · Contrast checker → · Palette generator →

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