#5D591C#5D591C

#5D591C is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.081 H 105.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5D591C
RGBrgb(93, 89, 28)
HSLhsl(56, 54%, 24%)
HSVhsv(56, 70%, 36%)
CMYKcmyk(0%, 4.3%, 69.9%, 63.5%)
CIE-LABlab(37.03, -6.80, 34.55)
CIE-LCHlch(37.03, 35.21, 101.13°)
OKLaboklab(45.49% -0.0217 0.078)
OKLCHoklch(45.49% 0.081 105.6)
XYZxyz(8.2965, 9.5560, 2.5059)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D591C #1C205D
analogous
#5D381C #5D591C #405D1C
triadic
#5D591C #1C5D59 #591C5D
tetradic
#5D591C #1C5D38 #1C205D #5D1C40
square
#5D591C #1C5D38 #1C205D #5D1C40
split-complementary
#5D591C #1C405D #381C5D
monochromatic
#181707 #2E2C0E #5D591C #8C862A #BBB338

Accessibility & contrast

On white

7.21
#5D591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D591C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D591C#FFFFFF#000000##FFFFFF
##5D591C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615614
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d591c;
/* rgb */ color: rgb(93, 89, 28);
/* oklch */ color: oklch(45.5% 0.081 105.6);
Tailwind
colors: {
  custom: {
    50: '#8d875c',
    500: '#5d591c',
    950: '#000000',
  },
}
SCSS
$custom: #5d591c;
$custom-light: #8d875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d591c",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 56.308,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.081,
    "h": 105.6
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#5D591C
secondary
#424792
accent
#54DD4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D591C

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

Preview Lab → · Contrast checker → · Palette generator →

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