#8D9921#8D9921

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

Color values

HEX#8D9921
RGBrgb(141, 153, 33)
HSLhsl(66, 65%, 36%)
HSVhsv(66, 78%, 60%)
CMYKcmyk(7.8%, 0%, 78.4%, 40%)
CIE-LABlab(60.39, -19.26, 56.64)
CIE-LCHlch(60.39, 59.82, 108.78°)
OKLaboklab(65.19% -0.0589 0.124)
OKLCHoklch(65.19% 0.137 115.4)
XYZxyz(22.6509, 28.5554, 5.7571)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9921 #2D2199
analogous
#996921 #8D9921 #519921
triadic
#8D9921 #218D99 #99218D
tetradic
#8D9921 #219969 #2D2199 #992151
square
#8D9921 #219969 #2D2199 #992151
split-complementary
#8D9921 #215199 #692199
monochromatic
#30340B #5F6716 #8D9921 #BBCB2C #CEDB59

Accessibility & contrast

On white

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

On black

6.71
#8D9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9921
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9921#FFFFFF#000000##000000
##8D99211.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#979083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9921;
/* rgb */ color: rgb(141, 153, 33);
/* oklch */ color: oklch(65.2% 0.137 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b667',
    500: '#8d9921',
    950: '#000000',
  },
}
SCSS
$custom: #8d9921;
$custom-light: #b2b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9921",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 66,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65192,
    "c": 0.13725,
    "h": 115.4
  },
  "luminance": 0.28555
}

Semantic roles & 50–950 ramp

primary
#8D9921
secondary
#6156BF
accent
#40E851
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9921

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

Preview Lab → · Contrast checker → · Palette generator →

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