#8D9728#8D9728

#8D9728 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.8% C 0.131 H 114.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D9728
RGBrgb(141, 151, 40)
HSLhsl(65, 58%, 37%)
HSVhsv(65, 74%, 59%)
CMYKcmyk(6.6%, 0%, 73.5%, 40.8%)
CIE-LABlab(59.84, -17.91, 53.74)
CIE-LCHlch(59.84, 56.64, 108.43°)
OKLaboklab(64.77% -0.0545 0.1191)
OKLCHoklch(64.77% 0.131 114.6)
XYZxyz(22.4347, 27.9495, 6.2200)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9728 #322897
analogous
#976928 #8D9728 #569728
triadic
#8D9728 #288D97 #97288D
tetradic
#8D9728 #289769 #322897 #972856
square
#8D9728 #289769 #322897 #972856
split-complementary
#8D9728 #285697 #692897
monochromatic
#33360E #60671B #8D9728 #BAC735 #CCD664

Accessibility & contrast

On white

3.19
#8D9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8D9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9728
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9728#FFFFFF#000000##000000
##8D97281.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F13
Deuteranopia (green-blind)
#A29131
Tritanopia (blue-blind)
#968E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9728;
/* rgb */ color: rgb(141, 151, 40);
/* oklch */ color: oklch(64.8% 0.131 114.6);
Tailwind
colors: {
  custom: {
    50: '#b1b56a',
    500: '#8d9728',
    950: '#000000',
  },
}
SCSS
$custom: #8d9728;
$custom-light: #b1b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9728",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 65.405,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64768,
    "c": 0.13098,
    "h": 114.6
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

primary
#8D9728
secondary
#685FBC
accent
#46E154
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9728

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

Preview Lab → · Contrast checker → · Palette generator →

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