#8D9528#8D9528

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

Color values

HEX#8D9528
RGBrgb(141, 149, 40)
HSLhsl(64, 58%, 37%)
HSVhsv(64, 73%, 58%)
CMYKcmyk(5.4%, 0%, 73.2%, 41.6%)
CIE-LABlab(59.26, -16.87, 53.18)
CIE-LCHlch(59.26, 55.79, 107.60°)
OKLaboklab(64.3% -0.0517 0.1179)
OKLCHoklch(64.3% 0.129 113.7)
XYZxyz(22.1156, 27.3113, 6.1137)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9528 #302895
analogous
#956728 #8D9528 #569528
triadic
#8D9528 #288D95 #95288D
tetradic
#8D9528 #289567 #302895 #952856
square
#8D9528 #289567 #302895 #952856
split-complementary
#8D9528 #285695 #672895
monochromatic
#32350E #5F651B #8D9528 #BBC535 #CDD562

Accessibility & contrast

On white

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

On black

6.46
#8D9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9528
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9528#FFFFFF#000000##000000
##8D95281.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E14
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#978C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9528;
/* rgb */ color: rgb(141, 149, 40);
/* oklch */ color: oklch(64.3% 0.129 113.7);
Tailwind
colors: {
  custom: {
    50: '#b1b46a',
    500: '#8d9528',
    950: '#000000',
  },
}
SCSS
$custom: #8d9528;
$custom-light: #b1b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9528",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 64.404,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64302,
    "c": 0.12873,
    "h": 113.7
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

primary
#8D9528
secondary
#655EBB
accent
#47E152
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9528

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

Preview Lab → · Contrast checker → · Palette generator →

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