#8D9928#8D9928

#8D9928 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.133 H 115.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8D9928
RGBrgb(141, 153, 40)
HSLhsl(66, 59%, 38%)
HSVhsv(66, 74%, 60%)
CMYKcmyk(7.8%, 0%, 73.9%, 40%)
CIE-LABlab(60.43, -18.93, 54.30)
CIE-LCHlch(60.43, 57.51, 109.22°)
OKLaboklab(65.24% -0.0574 0.1203)
OKLCHoklch(65.24% 0.133 115.5)
XYZxyz(22.7593, 28.5988, 6.3282)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9928 #342899
analogous
#996D28 #8D9928 #549928
triadic
#8D9928 #288D99 #99288D
tetradic
#8D9928 #28996D #342899 #992854
square
#8D9928 #28996D #342899 #992854
split-complementary
#8D9928 #285499 #6D2899
monochromatic
#34380F #60681B #8D9928 #BACA35 #CBD765

Accessibility & contrast

On white

3.13
#8D9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8D9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9928
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9928#FFFFFF#000000##000000
##8D99281.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49112
Deuteranopia (green-blind)
#A39331
Tritanopia (blue-blind)
#969083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9928;
/* rgb */ color: rgb(141, 153, 40);
/* oklch */ color: oklch(65.2% 0.133 115.5);
Tailwind
colors: {
  custom: {
    50: '#b1b66a',
    500: '#8d9928',
    950: '#000000',
  },
}
SCSS
$custom: #8d9928;
$custom-light: #b1b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9928",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 66.372,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65235,
    "c": 0.13326,
    "h": 115.5
  },
  "luminance": 0.28598
}

Semantic roles & 50–950 ramp

primary
#8D9928
secondary
#6A60BD
accent
#46E257
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9928

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

Preview Lab → · Contrast checker → · Palette generator →

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