#5D5F11#5D5F11

#5D5F11 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.096 H 111.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5D5F11
RGBrgb(93, 95, 17)
HSLhsl(62, 70%, 22%)
HSVhsv(62, 82%, 37%)
CMYKcmyk(2.1%, 0%, 82.1%, 62.7%)
CIE-LABlab(38.82, -10.87, 40.80)
CIE-LCHlch(38.82, 42.23, 104.92°)
OKLaboklab(46.88% -0.0344 0.0891)
OKLCHoklch(46.88% 0.096 111.1)
XYZxyz(8.7079, 10.5523, 2.1083)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F11 #13115F
analogous
#5F3A11 #5D5F11 #365F11
triadic
#5D5F11 #115D5F #5F115D
tetradic
#5D5F11 #115F3A #13115F #5F1136
square
#5D5F11 #115F3A #13115F #5F1136
split-complementary
#5D5F11 #11365F #3A115F
monochromatic
#191A05 #2A2B08 #5D5F11 #90931A #C3C724

Accessibility & contrast

On white

6.75
#5D5F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D5F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5F11
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5F11#FFFFFF#000000##FFFFFF
##5D5F111.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#685C18
Tritanopia (blue-blind)
#645951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5f11;
/* rgb */ color: rgb(93, 95, 17);
/* oklch */ color: oklch(46.9% 0.096 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8c57',
    500: '#5d5f11',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f11;
$custom-light: #8e8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f11",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 61.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.0955,
    "h": 111.1
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#5D5F11
secondary
#373498
accent
#3BEC40
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5D5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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