#5D5E16#5D5E16

#5D5E16 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.091 H 110.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5D5E16
RGBrgb(93, 94, 22)
HSLhsl(61, 62%, 23%)
HSVhsv(61, 77%, 37%)
CMYKcmyk(1.1%, 0%, 76.6%, 63.1%)
CIE-LABlab(38.53, -10.06, 38.67)
CIE-LCHlch(38.53, 39.96, 104.58°)
OKLaboklab(46.67% -0.0316 0.0856)
OKLCHoklch(46.67% 0.091 110.3)
XYZxyz(8.6620, 10.3907, 2.3082)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5E16 #17165E
analogous
#5E3B16 #5D5E16 #395E16
triadic
#5D5E16 #165D5E #5E165D
tetradic
#5D5E16 #165E3B #17165E #5E1639
square
#5D5E16 #165E3B #17165E #5E1639
split-complementary
#5D5E16 #16395E #3B165E
monochromatic
#191906 #2C2C0A #5D5E16 #8E9022 #BFC12D

Accessibility & contrast

On white

6.82
#5D5E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5D5E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5E16
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5E16#FFFFFF#000000##FFFFFF
##5D5E161.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A09
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#645850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5e16;
/* rgb */ color: rgb(93, 94, 22);
/* oklch */ color: oklch(46.7% 0.091 110.3);
Tailwind
colors: {
  custom: {
    50: '#8e8b59',
    500: '#5d5e16',
    950: '#000000',
  },
}
SCSS
$custom: #5d5e16;
$custom-light: #8e8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5e16",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 60.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.09124,
    "h": 110.3
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#5D5E16
secondary
#3C3B95
accent
#43E545
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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