#5A550F#5A550F

#5A550F is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.087 H 105.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5A550F
RGBrgb(90, 85, 15)
HSLhsl(56, 71%, 21%)
HSVhsv(56, 83%, 35%)
CMYKcmyk(0%, 5.6%, 83.3%, 64.7%)
CIE-LABlab(35.41, -6.65, 38.32)
CIE-LCHlch(35.41, 38.89, 99.84°)
OKLaboklab(44.09% -0.0226 0.0835)
OKLCHoklch(44.09% 0.087 105.2)
XYZxyz(7.5515, 8.7054, 1.7344)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A550F #0F145A
analogous
#5A2F0F #5A550F #395A0F
triadic
#5A550F #0F5A55 #550F5A
tetradic
#5A550F #0F5A2F #0F145A #5A0F39
square
#5A550F #0F5A2F #0F145A #5A0F39
split-complementary
#5A550F #0F395A #2F0F5A
monochromatic
#1A1904 #262306 #5A550F #8E8718 #C3B820

Accessibility & contrast

On white

7.66
#5A550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5A550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A550F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A550F#FFFFFF#000000##FFFFFF
##5A550F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5201
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#614F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a550f;
/* rgb */ color: rgb(90, 85, 15);
/* oklch */ color: oklch(44.1% 0.087 105.2);
Tailwind
colors: {
  custom: {
    50: '#8c8454',
    500: '#5a550f',
    950: '#000000',
  },
}
SCSS
$custom: #5a550f;
$custom-light: #8c8454;
$custom-dark: #000000;
JSON
{
  "hex": "#5a550f",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 56,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.08651,
    "h": 105.2
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#5A550F
secondary
#313894
accent
#46EE3A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A550F

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

Preview Lab → · Contrast checker → · Palette generator →

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