#8D8D15#8D8D15

#8D8D15 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#8D8D15
RGBrgb(141, 141, 21)
HSLhsl(60, 74%, 32%)
HSVhsv(60, 85%, 55%)
CMYKcmyk(0%, 0%, 85.1%, 44.7%)
CIE-LABlab(56.85, -13.44, 56.96)
CIE-LCHlch(56.85, 58.52, 103.28°)
OKLaboklab(62.34% -0.0437 0.1224)
OKLCHoklch(62.34% 0.13 109.6)
XYZxyz(20.6456, 24.7673, 4.4024)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D15 #15158D
analogous
#8D5115 #8D8D15 #518D15
triadic
#8D8D15 #158D8D #8D158D
tetradic
#8D8D15 #158D51 #15158D #8D1551
square
#8D8D15 #158D51 #15158D #8D1551
split-complementary
#8D8D15 #15518D #51158D
monochromatic
#222205 #58580D #8D8D15 #C2C21D #E2E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8D15#FFFFFF#000000##000000
##8D8D151.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)
#9A8A21
Tritanopia (blue-blind)
#988378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d15;
/* rgb */ color: rgb(141, 141, 21);
/* oklch */ color: oklch(62.3% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae61',
    500: '#8d8d15',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d15;
$custom-light: #b2ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d15",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.6234,
    "c": 0.13001,
    "h": 109.6
  },
  "luminance": 0.24767
}

Semantic roles & 50–950 ramp

primary
#8D8D15
secondary
#3D3DC1
accent
#37F137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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