#5D5F16#5D5F16

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

Color values

HEX#5D5F16
RGBrgb(93, 95, 22)
HSLhsl(62, 62%, 23%)
HSVhsv(62, 77%, 37%)
CMYKcmyk(2.1%, 0%, 76.8%, 62.7%)
CIE-LABlab(38.85, -10.63, 38.97)
CIE-LCHlch(38.85, 40.39, 105.25°)
OKLaboklab(46.92% -0.0332 0.0862)
OKLCHoklch(46.92% 0.092 111.1)
XYZxyz(8.7515, 10.5697, 2.3381)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F16 #18165F
analogous
#5F3C16 #5D5F16 #385F16
triadic
#5D5F16 #165D5F #5F165D
tetradic
#5D5F16 #165F3C #18165F #5F1638
square
#5D5F16 #165F3C #18165F #5F1638
split-complementary
#5D5F16 #16385F #3C165F
monochromatic
#181906 #2C2D0A #5D5F16 #8E9122 #BEC22D

Accessibility & contrast

On white

6.74
#5D5F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D5F16
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5F16#FFFFFF#000000##FFFFFF
##5D5F161.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#645951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5f16;
/* rgb */ color: rgb(93, 95, 22);
/* oklch */ color: oklch(46.9% 0.092 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8c59',
    500: '#5d5f16',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f16;
$custom-light: #8e8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f16",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 61.644,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.09239,
    "h": 111.1
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#5D5F16
secondary
#3D3B96
accent
#42E547
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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