#5B591C#5B591C

#5B591C is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.081 H 107.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5B591C
RGBrgb(91, 89, 28)
HSLhsl(58, 53%, 23%)
HSVhsv(58, 69%, 36%)
CMYKcmyk(0%, 2.2%, 69.2%, 64.3%)
CIE-LABlab(36.84, -7.77, 34.29)
CIE-LCHlch(36.84, 35.16, 102.76°)
OKLaboklab(45.29% -0.0243 0.0775)
OKLCHoklch(45.29% 0.081 107.4)
XYZxyz(8.0966, 9.4530, 2.4965)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B591C #1C1E5B
analogous
#5B391C #5B591C #3D5B1C
triadic
#5B591C #1C5B59 #591C5B
tetradic
#5B591C #1C5B39 #1C1E5B #5B1C3D
square
#5B591C #1C5B39 #1C1E5B #5B1C3D
split-complementary
#5B591C #1C3D5B #391C5B
monochromatic
#171707 #2C2B0E #5B591C #8A872A #B9B539

Accessibility & contrast

On white

7.26
#5B591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5B591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B591C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B591C#FFFFFF#000000##FFFFFF
##5B591C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615514
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#62534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b591c;
/* rgb */ color: rgb(91, 89, 28);
/* oklch */ color: oklch(45.3% 0.081 107.4);
Tailwind
colors: {
  custom: {
    50: '#8c875c',
    500: '#5b591c',
    950: '#000000',
  },
}
SCSS
$custom: #5b591c;
$custom-light: #8c875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b591c",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 58.095,
    "s": 52.941,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.08128,
    "h": 107.4
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#5B591C
secondary
#424590
accent
#50DC4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B591C

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

Preview Lab → · Contrast checker → · Palette generator →

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