#5A5711#5A5711

#5A5711 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.087 H 106.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5A5711
RGBrgb(90, 87, 17)
HSLhsl(58, 68%, 21%)
HSVhsv(58, 81%, 35%)
CMYKcmyk(0%, 3.3%, 81.1%, 64.7%)
CIE-LABlab(36.04, -7.73, 38.16)
CIE-LCHlch(36.04, 38.94, 101.45°)
OKLaboklab(44.6% -0.0254 0.0836)
OKLCHoklch(44.6% 0.087 106.9)
XYZxyz(7.7261, 9.0308, 1.8663)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5711 #11145A
analogous
#5A3211 #5A5711 #385A11
triadic
#5A5711 #115A57 #57115A
tetradic
#5A5711 #115A32 #11145A #5A1138
square
#5A5711 #115A32 #11145A #5A1138
split-complementary
#5A5711 #11385A #32115A
monochromatic
#1A1905 #272507 #5A5711 #8D891B #C1BB24

Accessibility & contrast

On white

7.48
#5A5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5A5711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5711
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5711#FFFFFF#000000##FFFFFF
##5A57111.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5303
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#61514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a5711;
/* rgb */ color: rgb(90, 87, 17);
/* oklch */ color: oklch(44.6% 0.087 106.9);
Tailwind
colors: {
  custom: {
    50: '#8b8656',
    500: '#5a5711',
    950: '#000000',
  },
}
SCSS
$custom: #5a5711;
$custom-light: #8b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5711",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 57.534,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.446,
    "c": 0.08739,
    "h": 106.9
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#5A5711
secondary
#343893
accent
#44EB3D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5711

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

Preview Lab → · Contrast checker → · Palette generator →

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