#8D8616#8D8616

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

Color values

HEX#8D8616
RGBrgb(141, 134, 22)
HSLhsl(56, 73%, 32%)
HSVhsv(56, 84%, 55%)
CMYKcmyk(0%, 5%, 84.4%, 44.7%)
CIE-LABlab(54.84, -9.65, 54.99)
CIE-LCHlch(54.84, 55.83, 99.95°)
OKLaboklab(60.74% -0.0331 0.1184)
OKLCHoklch(60.74% 0.123 105.6)
XYZxyz(19.6553, 22.7716, 4.1189)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8616 #161D8D
analogous
#8D4B16 #8D8616 #588D16
triadic
#8D8616 #168D86 #86168D
tetradic
#8D8616 #168D4B #161D8D #8D1658
square
#8D8616 #168D4B #161D8D #8D1658
split-complementary
#8D8616 #16588D #4B168D
monochromatic
#232105 #58540E #8D8616 #C2B81E #E1D73D

Accessibility & contrast

On white

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

On black

5.55
#8D8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8616
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8616#FFFFFF#000000##000000
##8D86161.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.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: #8d8616;
/* rgb */ color: rgb(141, 134, 22);
/* oklch */ color: oklch(60.7% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#b2a860',
    500: '#8d8616',
    950: '#000000',
  },
}
SCSS
$custom: #8d8616;
$custom-light: #b2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8616",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 56.471,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.1229,
    "h": 105.6
  },
  "luminance": 0.22771
}

Semantic roles & 50–950 ramp

primary
#8D8616
secondary
#3E46C1
accent
#43F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8616

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

Preview Lab → · Contrast checker → · Palette generator →

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