#8D9529#8D9529

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

Color values

HEX#8D9529
RGBrgb(141, 149, 41)
HSLhsl(64, 57%, 37%)
HSVhsv(64, 72%, 58%)
CMYKcmyk(5.4%, 0%, 72.5%, 41.6%)
CIE-LABlab(59.27, -16.82, 52.81)
CIE-LCHlch(59.27, 55.42, 107.67°)
OKLaboklab(64.31% -0.0514 0.1173)
OKLCHoklch(64.31% 0.128 113.7)
XYZxyz(22.1328, 27.3182, 6.2044)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9529 #312995
analogous
#956729 #8D9529 #579529
triadic
#8D9529 #298D95 #95298D
tetradic
#8D9529 #299567 #312995 #952957
square
#8D9529 #299567 #312995 #952957
split-complementary
#8D9529 #295795 #672995
monochromatic
#32350F #60651C #8D9529 #BAC536 #CCD464

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9529#FFFFFF#000000##000000
##8D95291.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)
#A08E16
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#978C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9529;
/* rgb */ color: rgb(141, 149, 41);
/* oklch */ color: oklch(64.3% 0.128 113.7);
Tailwind
colors: {
  custom: {
    50: '#b1b46b',
    500: '#8d9529',
    950: '#000000',
  },
}
SCSS
$custom: #8d9529;
$custom-light: #b1b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9529",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 64.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.12808,
    "h": 113.7
  },
  "luminance": 0.27318
}

Semantic roles & 50–950 ramp

primary
#8D9529
secondary
#6660BA
accent
#48E053
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9529

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

Preview Lab → · Contrast checker → · Palette generator →

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