#5D580F#5D580F

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

Color values

HEX#5D580F
RGBrgb(93, 88, 15)
HSLhsl(56, 72%, 21%)
HSVhsv(56, 84%, 36%)
CMYKcmyk(0%, 5.4%, 83.9%, 63.5%)
CIE-LABlab(36.63, -6.92, 39.53)
CIE-LCHlch(36.63, 40.13, 99.93°)
OKLaboklab(45.14% -0.0236 0.086)
OKLCHoklch(45.14% 0.089 105.3)
XYZxyz(8.0905, 9.3414, 1.8288)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D580F #0F145D
analogous
#5D310F #5D580F #3B5D0F
triadic
#5D580F #0F5D58 #580F5D
tetradic
#5D580F #0F5D31 #0F145D #5D0F3B
square
#5D580F #0F5D31 #0F145D #5D0F3B
split-complementary
#5D580F #0F3B5D #310F5D
monochromatic
#1A1904 #282606 #5D580F #928A17 #C6BC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D580F#FFFFFF#000000##FFFFFF
##5D580F1.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)
#615400
Deuteranopia (green-blind)
#625815
Tritanopia (blue-blind)
#65514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d580f;
/* rgb */ color: rgb(93, 88, 15);
/* oklch */ color: oklch(45.1% 0.089 105.3);
Tailwind
colors: {
  custom: {
    50: '#8e8655',
    500: '#5d580f',
    950: '#000000',
  },
}
SCSS
$custom: #5d580f;
$custom-light: #8e8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5d580f",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 56.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.08912,
    "h": 105.3
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#5D580F
secondary
#313896
accent
#45EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D580F

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

Preview Lab → · Contrast checker → · Palette generator →

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