#8D8617#8D8617

#8D8617 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.122 H 105.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D8617
RGBrgb(141, 134, 23)
HSLhsl(56, 72%, 32%)
HSVhsv(56, 84%, 55%)
CMYKcmyk(0%, 5%, 83.7%, 44.7%)
CIE-LABlab(54.84, -9.62, 54.72)
CIE-LCHlch(54.84, 55.56, 99.97°)
OKLaboklab(60.74% -0.0329 0.118)
OKLCHoklch(60.74% 0.122 105.6)
XYZxyz(19.6651, 22.7756, 4.1707)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8617 #171E8D
analogous
#8D4B17 #8D8617 #598D17
triadic
#8D8617 #178D86 #86178D
tetradic
#8D8617 #178D4B #171E8D #8D1759
square
#8D8617 #178D4B #171E8D #8D1759
split-complementary
#8D8617 #17598D #4B178D
monochromatic
#242206 #58540E #8D8617 #C2B820 #E0D63F

Accessibility & contrast

On white

3.78
#8D8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8617
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8617#FFFFFF#000000##000000
##8D86171.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8617;
/* rgb */ color: rgb(141, 134, 23);
/* oklch */ color: oklch(60.7% 0.122 105.6);
Tailwind
colors: {
  custom: {
    50: '#b2a860',
    500: '#8d8617',
    950: '#000000',
  },
}
SCSS
$custom: #8d8617;
$custom-light: #b2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8617",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 56.441,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.12248,
    "h": 105.6
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#8D8617
secondary
#4047C0
accent
#44EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8617

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

Preview Lab → · Contrast checker → · Palette generator →

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