#8D8D16#8D8D16

#8D8D16 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.130 H 109.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D8D16
RGBrgb(141, 141, 22)
HSLhsl(60, 73%, 32%)
HSVhsv(60, 84%, 55%)
CMYKcmyk(0%, 0%, 84.4%, 44.7%)
CIE-LABlab(56.85, -13.41, 56.70)
CIE-LCHlch(56.85, 58.27, 103.30°)
OKLaboklab(62.34% -0.0436 0.1221)
OKLCHoklch(62.34% 0.13 109.6)
XYZxyz(20.6550, 24.7710, 4.4522)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D16 #16168D
analogous
#8D5216 #8D8D16 #528D16
triadic
#8D8D16 #168D8D #8D168D
tetradic
#8D8D16 #168D52 #16168D #8D1652
square
#8D8D16 #168D52 #16168D #8D1652
split-complementary
#8D8D16 #16528D #52168D
monochromatic
#232305 #58580E #8D8D16 #C2C21E #E1E13D

Accessibility & contrast

On white

3.53
#8D8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8D8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D16
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D16#FFFFFF#000000##000000
##8D8D161.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#988378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d16;
/* rgb */ color: rgb(141, 141, 22);
/* oklch */ color: oklch(62.3% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae61',
    500: '#8d8d16',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d16;
$custom-light: #b2ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d16",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62344,
    "c": 0.12962,
    "h": 109.6
  },
  "luminance": 0.2477
}

Semantic roles & 50–950 ramp

primary
#8D8D16
secondary
#3E3EC1
accent
#38F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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