#5E5D19#5E5D19

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

Color values

HEX#5E5D19
RGBrgb(94, 93, 25)
HSLhsl(59, 58%, 23%)
HSVhsv(59, 73%, 37%)
CMYKcmyk(0%, 1.1%, 73.4%, 63.1%)
CIE-LABlab(38.34, -8.83, 37.26)
CIE-LCHlch(38.34, 38.29, 103.33°)
OKLaboklab(46.54% -0.0279 0.0832)
OKLCHoklch(46.54% 0.088 108.5)
XYZxyz(8.7062, 10.2788, 2.4449)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D19 #191A5E
analogous
#5E3A19 #5E5D19 #3C5E19
triadic
#5E5D19 #195E5D #5D195E
tetradic
#5E5D19 #195E3A #191A5E #5E193C
square
#5E5D19 #195E3A #191A5E #5E193C
split-complementary
#5E5D19 #193C5E #3A195E
monochromatic
#181806 #2E2D0C #5E5D19 #8E8D26 #BFBD33

Accessibility & contrast

On white

6.87
#5E5D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5E5D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D19
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D19#FFFFFF#000000##FFFFFF
##5E5D191.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590E
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#65574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d19;
/* rgb */ color: rgb(94, 93, 25);
/* oklch */ color: oklch(46.5% 0.088 108.5);
Tailwind
colors: {
  custom: {
    50: '#8e8a5b',
    500: '#5e5d19',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d19;
$custom-light: #8e8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d19",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 59.13,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.08772,
    "h": 108.5
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#5E5D19
secondary
#3F4094
accent
#49E147
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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