#8D9D20#8D9D20

#8D9D20 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.142 H 117.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D9D20
RGBrgb(141, 157, 32)
HSLhsl(68, 66%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.2%, 0%, 79.6%, 38.4%)
CIE-LABlab(61.55, -21.33, 58.00)
CIE-LCHlch(61.55, 61.80, 110.20°)
OKLaboklab(66.13% -0.0647 0.1267)
OKLCHoklch(66.13% 0.142 117.1)
XYZxyz(23.3028, 29.8812, 5.9063)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D20 #30209D
analogous
#9D6F20 #8D9D20 #4F9D20
triadic
#8D9D20 #208D9D #9D208D
tetradic
#8D9D20 #209D6F #30209D #9D204F
square
#8D9D20 #209D6F #30209D #9D204F
split-complementary
#8D9D20 #204F9D #6F209D
monochromatic
#32370B #5F6A16 #8D9D20 #BBD02A #CDDD5A

Accessibility & contrast

On white

3.01
#8D9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D20
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D20#FFFFFF#000000##000000
##8D9D201.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d20;
/* rgb */ color: rgb(141, 157, 32);
/* oklch */ color: oklch(66.1% 0.142 117.1);
Tailwind
colors: {
  custom: {
    50: '#b2b967',
    500: '#8d9d20',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d20;
$custom-light: #b2b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d20",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 67.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66126,
    "c": 0.14225,
    "h": 117.1
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#8D9D20
secondary
#6557C1
accent
#3FE955
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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