#5E5D16#5E5D16

#5E5D16 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.5% C 0.090 H 108.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5E5D16
RGBrgb(94, 93, 22)
HSLhsl(59, 62%, 23%)
HSVhsv(59, 77%, 37%)
CMYKcmyk(0%, 1.1%, 76.6%, 63.1%)
CIE-LABlab(38.32, -9.00, 38.49)
CIE-LCHlch(38.32, 39.53, 103.16°)
OKLaboklab(46.52% -0.0287 0.0852)
OKLCHoklch(46.52% 0.09 108.6)
XYZxyz(8.6756, 10.2666, 2.2836)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D16 #16175E
analogous
#5E3916 #5E5D16 #3B5E16
triadic
#5E5D16 #165E5D #5D165E
tetradic
#5E5D16 #165E39 #16175E #5E163B
square
#5E5D16 #165E39 #16175E #5E163B
split-complementary
#5E5D16 #163B5E #39165E
monochromatic
#191906 #2C2C0A #5E5D16 #908E22 #C1BF2D

Accessibility & contrast

On white

6.88
#5E5D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D16
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D16#FFFFFF#000000##FFFFFF
##5E5D161.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655909
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#65574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d16;
/* rgb */ color: rgb(94, 93, 22);
/* oklch */ color: oklch(46.5% 0.090 108.6);
Tailwind
colors: {
  custom: {
    50: '#8e8a59',
    500: '#5e5d16',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d16;
$custom-light: #8e8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d16",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 59.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.08989,
    "h": 108.6
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#5E5D16
secondary
#3B3C95
accent
#45E543
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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