#5D5515#5D5515

#5D5515 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.4% C 0.082 H 102.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5D5515
RGBrgb(93, 85, 21)
HSLhsl(53, 63%, 22%)
HSVhsv(53, 77%, 36%)
CMYKcmyk(0%, 8.6%, 77.4%, 63.5%)
CIE-LABlab(35.75, -4.87, 36.39)
CIE-LCHlch(35.75, 36.72, 97.62°)
OKLaboklab(44.45% -0.0171 0.0806)
OKLCHoklch(44.45% 0.082 102)
XYZxyz(7.8984, 8.8786, 2.0070)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5515 #151D5D
analogous
#5D3115 #5D5515 #415D15
triadic
#5D5515 #155D55 #55155D
tetradic
#5D5515 #155D31 #151D5D #5D1541
square
#5D5515 #155D31 #151D5D #5D1541
split-complementary
#5D5515 #15415D #31155D
monochromatic
#191706 #2B270A #5D5515 #8F8320 #C1B02C

Accessibility & contrast

On white

7.57
#5D5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5515
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5515#FFFFFF#000000##FFFFFF
##5D55151.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520A
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#654E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d5515;
/* rgb */ color: rgb(93, 85, 21);
/* oklch */ color: oklch(44.4% 0.082 102.0);
Tailwind
colors: {
  custom: {
    50: '#8e8457',
    500: '#5d5515',
    950: '#000000',
  },
}
SCSS
$custom: #5d5515;
$custom-light: #8e8457;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5515",
  "rgb": {
    "r": 93,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 53.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.08236,
    "h": 102
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#5D5515
secondary
#394494
accent
#54E642
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5515

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

Preview Lab → · Contrast checker → · Palette generator →

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