#8D9922#8D9922

#8D9922 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#8D9922
RGBrgb(141, 153, 34)
HSLhsl(66, 64%, 37%)
HSVhsv(66, 78%, 60%)
CMYKcmyk(7.8%, 0%, 77.8%, 40%)
CIE-LABlab(60.39, -19.22, 56.32)
CIE-LCHlch(60.39, 59.51, 108.84°)
OKLaboklab(65.2% -0.0587 0.1235)
OKLCHoklch(65.2% 0.137 115.4)
XYZxyz(22.6651, 28.5611, 5.8319)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9922 #2E2299
analogous
#996A22 #8D9922 #529922
triadic
#8D9922 #228D99 #99228D
tetradic
#8D9922 #22996A #2E2299 #992252
square
#8D9922 #22996A #2E2299 #992252
split-complementary
#8D9922 #225299 #6A2299
monochromatic
#31350C #5F6717 #8D9922 #BBCB2D #CEDB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9922#FFFFFF#000000##000000
##8D99221.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)
#A49102
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#969083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9922;
/* rgb */ color: rgb(141, 153, 34);
/* oklch */ color: oklch(65.2% 0.137 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b668',
    500: '#8d9922',
    950: '#000000',
  },
}
SCSS
$custom: #8d9922;
$custom-light: #b2b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9922",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 66.05,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65198,
    "c": 0.13672,
    "h": 115.4
  },
  "luminance": 0.28561
}

Semantic roles & 50–950 ramp

primary
#8D9922
secondary
#6258BF
accent
#41E752
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9922

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

Preview Lab → · Contrast checker → · Palette generator →

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