#8D9520#8D9520

#8D9520 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.133 H 113.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D9520
RGBrgb(141, 149, 32)
HSLhsl(64, 65%, 35%)
HSVhsv(64, 79%, 58%)
CMYKcmyk(5.4%, 0%, 78.5%, 41.6%)
CIE-LABlab(59.22, -17.24, 55.89)
CIE-LCHlch(59.22, 58.49, 107.15°)
OKLaboklab(64.25% -0.0534 0.1222)
OKLCHoklch(64.25% 0.133 113.6)
XYZxyz(21.9934, 27.2624, 5.4698)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9520 #282095
analogous
#956320 #8D9520 #529520
triadic
#8D9520 #208D95 #95208D
tetradic
#8D9520 #209563 #282095 #952052
square
#8D9520 #209563 #282095 #952052
split-complementary
#8D9520 #205295 #632095
monochromatic
#2E300A #5D6315 #8D9520 #BDC72B #D1DA55

Accessibility & contrast

On white

3.25
#8D9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8D9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9520
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9520#FFFFFF#000000##000000
##8D95201.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A0902B
Tritanopia (blue-blind)
#978C7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9520;
/* rgb */ color: rgb(141, 149, 32);
/* oklch */ color: oklch(64.3% 0.133 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b466',
    500: '#8d9520',
    950: '#000000',
  },
}
SCSS
$custom: #8d9520;
$custom-light: #b2b466;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9520",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 64.103,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64251,
    "c": 0.13334,
    "h": 113.6
  },
  "luminance": 0.27262
}

Semantic roles & 50–950 ramp

primary
#8D9520
secondary
#5A53BE
accent
#40E84C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9520

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

Preview Lab → · Contrast checker → · Palette generator →

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