#5D5811#5D5811

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

Color values

HEX#5D5811
RGBrgb(93, 88, 17)
HSLhsl(56, 69%, 22%)
HSVhsv(56, 82%, 36%)
CMYKcmyk(0%, 5.4%, 81.7%, 63.5%)
CIE-LABlab(36.64, -6.84, 38.82)
CIE-LCHlch(36.64, 39.42, 99.99°)
OKLaboklab(45.15% -0.0231 0.0849)
OKLCHoklch(45.15% 0.088 105.2)
XYZxyz(8.1055, 9.3474, 1.9075)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5811 #11165D
analogous
#5D3211 #5D5811 #3C5D11
triadic
#5D5811 #115D58 #58115D
tetradic
#5D5811 #115D32 #11165D #5D113C
square
#5D5811 #115D32 #11165D #5D113C
split-complementary
#5D5811 #113C5D #32115D
monochromatic
#1A1805 #292708 #5D5811 #91891A #C4BA24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5811#FFFFFF#000000##FFFFFF
##5D58111.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)
#605503
Deuteranopia (green-blind)
#625817
Tritanopia (blue-blind)
#65514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d5811;
/* rgb */ color: rgb(93, 88, 17);
/* oklch */ color: oklch(45.1% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#8e8656',
    500: '#5d5811',
    950: '#000000',
  },
}
SCSS
$custom: #5d5811;
$custom-light: #8e8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5811",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 56.053,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.08796,
    "h": 105.2
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#5D5811
secondary
#343B96
accent
#47EC3C
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5811

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

Preview Lab → · Contrast checker → · Palette generator →

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