#8D9721#8D9721

#8D9721 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.135 H 114.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D9721
RGBrgb(141, 151, 33)
HSLhsl(65, 64%, 36%)
HSVhsv(65, 78%, 59%)
CMYKcmyk(6.6%, 0%, 78.1%, 40.8%)
CIE-LABlab(59.80, -18.24, 56.10)
CIE-LCHlch(59.80, 58.99, 108.01°)
OKLaboklab(64.72% -0.0561 0.1228)
OKLCHoklch(64.72% 0.135 114.5)
XYZxyz(22.3263, 27.9062, 5.6489)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9721 #2B2197
analogous
#976621 #8D9721 #529721
triadic
#8D9721 #218D97 #97218D
tetradic
#8D9721 #219766 #2B2197 #972152
square
#8D9721 #219766 #2B2197 #972152
split-complementary
#8D9721 #215297 #662197
monochromatic
#2F330B #5E6516 #8D9721 #BCC92C #CFDA58

Accessibility & contrast

On white

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

On black

6.58
#8D9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9721
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9721#FFFFFF#000000##000000
##8D97211.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#978E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9721;
/* rgb */ color: rgb(141, 151, 33);
/* oklch */ color: oklch(64.7% 0.135 114.5);
Tailwind
colors: {
  custom: {
    50: '#b2b567',
    500: '#8d9721',
    950: '#000000',
  },
}
SCSS
$custom: #8d9721;
$custom-light: #b2b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9721",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 65.085,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.13501,
    "h": 114.5
  },
  "luminance": 0.27906
}

Semantic roles & 50–950 ramp

primary
#8D9721
secondary
#5E55BE
accent
#41E74F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9721

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

Preview Lab → · Contrast checker → · Palette generator →

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