#5A590F#5A590F

#5A590F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.091 H 108.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5A590F
RGBrgb(90, 89, 15)
HSLhsl(59, 71%, 21%)
HSVhsv(59, 83%, 35%)
CMYKcmyk(0%, 1.1%, 83.3%, 64.7%)
CIE-LABlab(36.66, -8.98, 39.44)
CIE-LCHlch(36.66, 40.45, 102.83°)
OKLaboklab(45.08% -0.0291 0.0859)
OKLCHoklch(45.08% 0.091 108.7)
XYZxyz(7.8754, 9.3532, 1.8423)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A590F #0F105A
analogous
#5A330F #5A590F #355A0F
triadic
#5A590F #0F5A59 #590F5A
tetradic
#5A590F #0F5A33 #0F105A #5A0F35
square
#5A590F #0F5A33 #0F105A #5A0F35
split-complementary
#5A590F #0F355A #330F5A
monochromatic
#1A1A04 #262506 #5A590F #8E8D18 #C3C120

Accessibility & contrast

On white

7.32
#5A590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5A590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A590F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A590F#FFFFFF#000000##FFFFFF
##5A590F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#625715
Tritanopia (blue-blind)
#61534B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5a590f;
/* rgb */ color: rgb(90, 89, 15);
/* oklch */ color: oklch(45.1% 0.091 108.7);
Tailwind
colors: {
  custom: {
    50: '#8c8755',
    500: '#5a590f',
    950: '#000000',
  },
}
SCSS
$custom: #5a590f;
$custom-light: #8c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#5a590f",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 59.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.0907,
    "h": 108.7
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#5A590F
secondary
#313394
accent
#3CEE3A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A590F

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

Preview Lab → · Contrast checker → · Palette generator →

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