#5D5813#5D5813

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

Color values

HEX#5D5813
RGBrgb(93, 88, 19)
HSLhsl(56, 66%, 22%)
HSVhsv(56, 80%, 36%)
CMYKcmyk(0%, 5.4%, 79.6%, 63.5%)
CIE-LABlab(36.66, -6.74, 38.07)
CIE-LCHlch(36.66, 38.67, 100.04°)
OKLaboklab(45.16% -0.0226 0.0837)
OKLCHoklch(45.16% 0.087 105.1)
XYZxyz(8.1218, 9.3539, 1.9936)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5813 #13185D
analogous
#5D3313 #5D5813 #3D5D13
triadic
#5D5813 #135D58 #58135D
tetradic
#5D5813 #135D33 #13185D #5D133D
square
#5D5813 #135D33 #13185D #5D133D
split-complementary
#5D5813 #133D5D #33135D
monochromatic
#191805 #2A2809 #5D5813 #90881D #C3B828

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5813#FFFFFF#000000##FFFFFF
##5D58131.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)
#605506
Deuteranopia (green-blind)
#625818
Tritanopia (blue-blind)
#64514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d5813;
/* rgb */ color: rgb(93, 88, 19);
/* oklch */ color: oklch(45.2% 0.087 105.1);
Tailwind
colors: {
  custom: {
    50: '#8e8657',
    500: '#5d5813',
    950: '#000000',
  },
}
SCSS
$custom: #5d5813;
$custom-light: #8e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5813",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 55.946,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.08671,
    "h": 105.1
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#5D5813
secondary
#373D95
accent
#4AE93F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5D5813

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

Preview Lab → · Contrast checker → · Palette generator →

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