#8D9820#8D9820

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

Color values

HEX#8D9820
RGBrgb(141, 152, 32)
HSLhsl(66, 65%, 36%)
HSVhsv(66, 79%, 60%)
CMYKcmyk(7.2%, 0%, 78.9%, 40.4%)
CIE-LABlab(60.09, -18.79, 56.68)
CIE-LCHlch(60.09, 59.71, 108.34°)
OKLaboklab(64.95% -0.0577 0.1239)
OKLCHoklch(64.95% 0.137 115)
XYZxyz(22.4741, 28.2239, 5.6301)
Luminance0.2822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9820 #2B2098
analogous
#986720 #8D9820 #519820
triadic
#8D9820 #208D98 #98208D
tetradic
#8D9820 #209867 #2B2098 #982051
square
#8D9820 #209867 #2B2098 #982051
split-complementary
#8D9820 #205198 #672098
monochromatic
#2F330B #5E6515 #8D9820 #BCCB2B #CFDC57

Accessibility & contrast

On white

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

On black

6.64
#8D9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9820
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9820#FFFFFF#000000##000000
##8D98201.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9820;
/* rgb */ color: rgb(141, 152, 32);
/* oklch */ color: oklch(65.0% 0.137 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b667',
    500: '#8d9820',
    950: '#000000',
  },
}
SCSS
$custom: #8d9820;
$custom-light: #b2b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9820",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 65.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64952,
    "c": 0.13665,
    "h": 115
  },
  "luminance": 0.28223
}

Semantic roles & 50–950 ramp

primary
#8D9820
secondary
#5E54BF
accent
#40E84F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9820

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

Preview Lab → · Contrast checker → · Palette generator →

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