#8D9722#8D9722

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

Color values

HEX#8D9722
RGBrgb(141, 151, 34)
HSLhsl(65, 63%, 36%)
HSVhsv(65, 77%, 59%)
CMYKcmyk(6.6%, 0%, 77.5%, 40.8%)
CIE-LABlab(59.81, -18.19, 55.78)
CIE-LCHlch(59.81, 58.68, 108.06°)
OKLaboklab(64.73% -0.0559 0.1223)
OKLCHoklch(64.73% 0.134 114.5)
XYZxyz(22.3405, 27.9119, 5.7237)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9722 #2C2297
analogous
#976722 #8D9722 #539722
triadic
#8D9722 #228D97 #97228D
tetradic
#8D9722 #229767 #2C2297 #972253
square
#8D9722 #229767 #2C2297 #972253
split-complementary
#8D9722 #225397 #672297
monochromatic
#30330C #5E6517 #8D9722 #BCC92D #CFDA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9722#FFFFFF#000000##000000
##8D97221.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)
#A28F03
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#978E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9722;
/* rgb */ color: rgb(141, 151, 34);
/* oklch */ color: oklch(64.7% 0.134 114.5);
Tailwind
colors: {
  custom: {
    50: '#b2b567',
    500: '#8d9722',
    950: '#000000',
  },
}
SCSS
$custom: #8d9722;
$custom-light: #b2b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9722",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 65.128,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6473,
    "c": 0.13448,
    "h": 114.5
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

primary
#8D9722
secondary
#6057BE
accent
#42E650
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9722

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

Preview Lab → · Contrast checker → · Palette generator →

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