#5D5B0F#5D5B0F

#5D5B0F is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.9% C 0.092 H 107.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5D5B0F
RGBrgb(93, 91, 15)
HSLhsl(58, 72%, 21%)
HSVhsv(58, 84%, 36%)
CMYKcmyk(0%, 2.2%, 83.9%, 63.5%)
CIE-LABlab(37.56, -8.67, 40.36)
CIE-LCHlch(37.56, 41.28, 102.12°)
OKLaboklab(45.88% -0.0284 0.0877)
OKLCHoklch(45.88% 0.092 107.9)
XYZxyz(8.3418, 9.8441, 1.9125)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5B0F #0F115D
analogous
#5D340F #5D5B0F #385D0F
triadic
#5D5B0F #0F5D5B #5B0F5D
tetradic
#5D5B0F #0F5D34 #0F115D #5D0F38
square
#5D5B0F #0F5D34 #0F115D #5D0F38
split-complementary
#5D5B0F #0F385D #340F5D
monochromatic
#1A1A04 #282706 #5D5B0F #928F17 #C6C220

Accessibility & contrast

On white

7.07
#5D5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D5B0F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5B0F#FFFFFF#000000##FFFFFF
##5D5B0F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#64544D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5b0f;
/* rgb */ color: rgb(93, 91, 15);
/* oklch */ color: oklch(45.9% 0.092 107.9);
Tailwind
colors: {
  custom: {
    50: '#8e8955',
    500: '#5d5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d5b0f;
$custom-light: #8e8955;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5b0f",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 58.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45877,
    "c": 0.09222,
    "h": 107.9
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#5D5B0F
secondary
#313496
accent
#3EEF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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