#5D5B15#5D5B15

#5D5B15 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.9% C 0.089 H 107.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5D5B15
RGBrgb(93, 91, 21)
HSLhsl(58, 63%, 22%)
HSVhsv(58, 77%, 36%)
CMYKcmyk(0%, 2.2%, 77.4%, 63.5%)
CIE-LABlab(37.60, -8.38, 38.17)
CIE-LCHlch(37.60, 39.08, 102.39°)
OKLaboklab(45.92% -0.027 0.0843)
OKLCHoklch(45.92% 0.089 107.8)
XYZxyz(8.3910, 9.8637, 2.1712)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5B15 #15175D
analogous
#5D3715 #5D5B15 #3B5D15
triadic
#5D5B15 #155D5B #5B155D
tetradic
#5D5B15 #155D37 #15175D #5D153B
square
#5D5B15 #155D37 #15175D #5D153B
split-complementary
#5D5B15 #153B5D #37155D
monochromatic
#191806 #2B2A0A #5D5B15 #8F8C20 #C1BD2C

Accessibility & contrast

On white

7.06
#5D5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5D5B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5B15
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5B15#FFFFFF#000000##FFFFFF
##5D5B151.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635708
Deuteranopia (green-blind)
#645A1A
Tritanopia (blue-blind)
#64554D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5b15;
/* rgb */ color: rgb(93, 91, 21);
/* oklch */ color: oklch(45.9% 0.089 107.8);
Tailwind
colors: {
  custom: {
    50: '#8e8958',
    500: '#5d5b15',
    950: '#000000',
  },
}
SCSS
$custom: #5d5b15;
$custom-light: #8e8958;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5b15",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 58.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.08856,
    "h": 107.8
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#5D5B15
secondary
#393C94
accent
#46E642
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5D5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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