#5B590F#5B590F

#5B590F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.090 H 107.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5B590F
RGBrgb(91, 89, 15)
HSLhsl(58, 72%, 21%)
HSVhsv(58, 84%, 36%)
CMYKcmyk(0%, 2.2%, 83.5%, 64.3%)
CIE-LABlab(36.75, -8.49, 39.56)
CIE-LCHlch(36.75, 40.46, 102.12°)
OKLaboklab(45.18% -0.0278 0.0861)
OKLCHoklch(45.18% 0.091 107.9)
XYZxyz(7.9733, 9.4037, 1.8469)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B590F #0F115B
analogous
#5B330F #5B590F #375B0F
triadic
#5B590F #0F5B59 #590F5B
tetradic
#5B590F #0F5B33 #0F115B #5B0F37
square
#5B590F #0F5B33 #0F115B #5B0F37
split-complementary
#5B590F #0F375B #330F5B
monochromatic
#1A1A04 #262606 #5B590F #908C18 #C4C020

Accessibility & contrast

On white

7.29
#5B590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5B590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B590F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B590F#FFFFFF#000000##FFFFFF
##5B590F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b590f;
/* rgb */ color: rgb(91, 89, 15);
/* oklch */ color: oklch(45.2% 0.090 107.9);
Tailwind
colors: {
  custom: {
    50: '#8c8755',
    500: '#5b590f',
    950: '#000000',
  },
}
SCSS
$custom: #5b590f;
$custom-light: #8c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#5b590f",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 58.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.0905,
    "h": 107.9
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#5B590F
secondary
#313495
accent
#3EEE39
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B590F

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

Preview Lab → · Contrast checker → · Palette generator →

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