#8D9720#8D9720

#8D9720 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.136 H 114.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D9720
RGBrgb(141, 151, 32)
HSLhsl(65, 65%, 36%)
HSVhsv(65, 79%, 59%)
CMYKcmyk(6.6%, 0%, 78.8%, 40.8%)
CIE-LABlab(59.80, -18.28, 56.42)
CIE-LCHlch(59.80, 59.30, 107.95°)
OKLaboklab(64.72% -0.0563 0.1233)
OKLCHoklch(64.72% 0.136 114.5)
XYZxyz(22.3125, 27.9006, 5.5762)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9720 #2A2097
analogous
#976520 #8D9720 #519720
triadic
#8D9720 #208D97 #97208D
tetradic
#8D9720 #209765 #2A2097 #972051
square
#8D9720 #209765 #2A2097 #972051
split-complementary
#8D9720 #205197 #652097
monochromatic
#2F320B #5E6415 #8D9720 #BCC92B #D0DB56

Accessibility & contrast

On white

3.19
#8D9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8D9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9720
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9720#FFFFFF#000000##000000
##8D97201.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#978E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9720;
/* rgb */ color: rgb(141, 151, 32);
/* oklch */ color: oklch(64.7% 0.136 114.5);
Tailwind
colors: {
  custom: {
    50: '#b2b566',
    500: '#8d9720',
    950: '#000000',
  },
}
SCSS
$custom: #8d9720;
$custom-light: #b2b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9720",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 65.042,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64718,
    "c": 0.13554,
    "h": 114.5
  },
  "luminance": 0.279
}

Semantic roles & 50–950 ramp

primary
#8D9720
secondary
#5D54BF
accent
#40E84E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9720

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

Preview Lab → · Contrast checker → · Palette generator →

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