#5E5D17#5E5D17

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

Color values

HEX#5E5D17
RGBrgb(94, 93, 23)
HSLhsl(59, 61%, 23%)
HSVhsv(59, 76%, 37%)
CMYKcmyk(0%, 1.1%, 75.5%, 63.1%)
CIE-LABlab(38.32, -8.94, 38.09)
CIE-LCHlch(38.32, 39.13, 103.21°)
OKLaboklab(46.52% -0.0284 0.0845)
OKLCHoklch(46.52% 0.089 108.6)
XYZxyz(8.6854, 10.2705, 2.3353)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D17 #17185E
analogous
#5E3917 #5E5D17 #3B5E17
triadic
#5E5D17 #175E5D #5D175E
tetradic
#5E5D17 #175E39 #17185E #5E173B
square
#5E5D17 #175E39 #17185E #5E173B
split-complementary
#5E5D17 #173B5E #39175E
monochromatic
#191806 #2D2C0B #5E5D17 #8F8E23 #C0BE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5D17#FFFFFF#000000##FFFFFF
##5E5D171.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)
#65590B
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#65574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d17;
/* rgb */ color: rgb(94, 93, 23);
/* oklch */ color: oklch(46.5% 0.089 108.6);
Tailwind
colors: {
  custom: {
    50: '#8e8a59',
    500: '#5e5d17',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d17;
$custom-light: #8e8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d17",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 59.155,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46523,
    "c": 0.08919,
    "h": 108.6
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#5E5D17
secondary
#3C3D95
accent
#46E444
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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