#8D8216#8D8216

#8D8216 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.119 H 103.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D8216
RGBrgb(141, 130, 22)
HSLhsl(54, 73%, 32%)
HSVhsv(54, 84%, 55%)
CMYKcmyk(0%, 7.8%, 84.4%, 44.7%)
CIE-LABlab(53.69, -7.47, 54.02)
CIE-LCHlch(53.69, 54.53, 97.87°)
OKLaboklab(59.83% -0.027 0.1162)
OKLCHoklch(59.83% 0.119 103.1)
XYZxyz(19.1129, 21.6868, 3.9381)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8216 #16218D
analogous
#8D4716 #8D8216 #5D8D16
triadic
#8D8216 #168D82 #82168D
tetradic
#8D8216 #168D47 #16218D #8D165D
square
#8D8216 #168D47 #16218D #8D165D
split-complementary
#8D8216 #165D8D #47168D
monochromatic
#232005 #58510E #8D8216 #C2B31E #E1D23D

Accessibility & contrast

On white

3.93
#8D8216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8D8216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8216
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8216#FFFFFF#000000##000000
##8D82161.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#928320
Tritanopia (blue-blind)
#98786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8216;
/* rgb */ color: rgb(141, 130, 22);
/* oklch */ color: oklch(59.8% 0.119 103.1);
Tailwind
colors: {
  custom: {
    50: '#b2a55f',
    500: '#8d8216',
    950: '#000000',
  },
}
SCSS
$custom: #8d8216;
$custom-light: #b2a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8216",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 54.454,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.11934,
    "h": 103.1
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#8D8216
secondary
#3E4AC1
accent
#49F038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8216

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

Preview Lab → · Contrast checker → · Palette generator →

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