#8D8916#8D8916

#8D8916 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.126 H 107.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D8916
RGBrgb(141, 137, 22)
HSLhsl(58, 73%, 32%)
HSVhsv(58, 84%, 55%)
CMYKcmyk(0%, 2.8%, 84.4%, 44.7%)
CIE-LABlab(55.70, -11.27, 55.73)
CIE-LCHlch(55.70, 56.85, 101.44°)
OKLaboklab(61.42% -0.0376 0.12)
OKLCHoklch(61.42% 0.126 107.4)
XYZxyz(20.0758, 23.6127, 4.2591)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8916 #161A8D
analogous
#8D4E16 #8D8916 #568D16
triadic
#8D8916 #168D89 #89168D
tetradic
#8D8916 #168D4E #161A8D #8D1656
square
#8D8916 #168D4E #161A8D #8D1656
split-complementary
#8D8916 #16568D #4E168D
monochromatic
#232205 #58560E #8D8916 #C2BC1E #E1DB3D

Accessibility & contrast

On white

3.67
#8D8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8D8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8916
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8916#FFFFFF#000000##000000
##8D89161.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978721
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8916;
/* rgb */ color: rgb(141, 137, 22);
/* oklch */ color: oklch(61.4% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#b2ab60',
    500: '#8d8916',
    950: '#000000',
  },
}
SCSS
$custom: #8d8916;
$custom-light: #b2ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8916",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 57.983,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.12571,
    "h": 107.4
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#8D8916
secondary
#3E43C1
accent
#3EF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8916

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

Preview Lab → · Contrast checker → · Palette generator →

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