#8D9822#8D9822

#8D9822 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.0% C 0.136 H 115.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D9822
RGBrgb(141, 152, 34)
HSLhsl(66, 63%, 36%)
HSVhsv(66, 78%, 60%)
CMYKcmyk(7.2%, 0%, 77.6%, 40.4%)
CIE-LABlab(60.10, -18.71, 56.05)
CIE-LCHlch(60.10, 59.09, 108.46°)
OKLaboklab(64.96% -0.0573 0.1229)
OKLCHoklch(64.96% 0.136 115)
XYZxyz(22.5021, 28.2351, 5.7776)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9822 #2D2298
analogous
#986822 #8D9822 #529822
triadic
#8D9822 #228D98 #98228D
tetradic
#8D9822 #229868 #2D2298 #982252
square
#8D9822 #229868 #2D2298 #982252
split-complementary
#8D9822 #225298 #682298
monochromatic
#30340C #5F6617 #8D9822 #BBCA2D #CEDA5A

Accessibility & contrast

On white

3.16
#8D9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8D9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9822
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9822#FFFFFF#000000##000000
##8D98221.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39002
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#978F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9822;
/* rgb */ color: rgb(141, 152, 34);
/* oklch */ color: oklch(65.0% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b667',
    500: '#8d9822',
    950: '#000000',
  },
}
SCSS
$custom: #8d9822;
$custom-light: #b2b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9822",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 65.593,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.1356,
    "h": 115
  },
  "luminance": 0.28235
}

Semantic roles & 50–950 ramp

primary
#8D9822
secondary
#6157BE
accent
#41E651
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9822

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

Preview Lab → · Contrast checker → · Palette generator →

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