#8D8517#8D8517

#8D8517 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.122 H 105.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D8517
RGBrgb(141, 133, 23)
HSLhsl(56, 72%, 32%)
HSVhsv(56, 84%, 55%)
CMYKcmyk(0%, 5.7%, 83.7%, 44.7%)
CIE-LABlab(54.55, -9.08, 54.47)
CIE-LCHlch(54.55, 55.23, 99.46°)
OKLaboklab(60.51% -0.0314 0.1174)
OKLCHoklch(60.51% 0.122 105)
XYZxyz(19.5276, 22.5004, 4.1249)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8517 #171F8D
analogous
#8D4A17 #8D8517 #5A8D17
triadic
#8D8517 #178D85 #85178D
tetradic
#8D8517 #178D4A #171F8D #8D175A
square
#8D8517 #178D4A #171F8D #8D175A
split-complementary
#8D8517 #175A8D #4A178D
monochromatic
#242206 #58530E #8D8517 #C2B720 #E0D53F

Accessibility & contrast

On white

3.82
#8D8517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8517
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8517#FFFFFF#000000##000000
##8D85171.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948521
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8517;
/* rgb */ color: rgb(141, 133, 23);
/* oklch */ color: oklch(60.5% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b2a860',
    500: '#8d8517',
    950: '#000000',
  },
}
SCSS
$custom: #8d8517;
$custom-light: #b2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8517",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 55.932,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.12156,
    "h": 105
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

primary
#8D8517
secondary
#4049C0
accent
#45EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8517

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

Preview Lab → · Contrast checker → · Palette generator →

#8D8517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva