#8D8316#8D8316

#8D8316 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.120 H 103.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8D8316
RGBrgb(141, 131, 22)
HSLhsl(55, 73%, 32%)
HSVhsv(55, 84%, 55%)
CMYKcmyk(0%, 7.1%, 84.4%, 44.7%)
CIE-LABlab(53.98, -8.02, 54.26)
CIE-LCHlch(53.98, 54.85, 98.41°)
OKLaboklab(60.05% -0.0285 0.1168)
OKLCHoklch(60.05% 0.12 103.7)
XYZxyz(19.2465, 21.9541, 3.9827)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8316 #16208D
analogous
#8D4816 #8D8316 #5C8D16
triadic
#8D8316 #168D83 #83168D
tetradic
#8D8316 #168D48 #16208D #8D165C
square
#8D8316 #168D48 #16208D #8D165C
split-complementary
#8D8316 #165C8D #48168D
monochromatic
#232105 #58520E #8D8316 #C2B41E #E1D33D

Accessibility & contrast

On white

3.90
#8D8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8D8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8316
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8316#FFFFFF#000000##000000
##8D83161.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8316;
/* rgb */ color: rgb(141, 131, 22);
/* oklch */ color: oklch(60.1% 0.120 103.7);
Tailwind
colors: {
  custom: {
    50: '#b2a660',
    500: '#8d8316',
    950: '#000000',
  },
}
SCSS
$custom: #8d8316;
$custom-light: #b2a660;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8316",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 54.958,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.12021,
    "h": 103.7
  },
  "luminance": 0.21953
}

Semantic roles & 50–950 ramp

primary
#8D8316
secondary
#3E49C1
accent
#48F038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8316

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

Preview Lab → · Contrast checker → · Palette generator →

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