#8D9527#8D9527

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

Color values

HEX#8D9527
RGBrgb(141, 149, 39)
HSLhsl(64, 59%, 37%)
HSVhsv(64, 74%, 58%)
CMYKcmyk(5.4%, 0%, 73.8%, 41.6%)
CIE-LABlab(59.26, -16.92, 53.54)
CIE-LCHlch(59.26, 56.15, 107.54°)
OKLaboklab(64.3% -0.0519 0.1185)
OKLCHoklch(64.3% 0.129 113.6)
XYZxyz(22.0988, 27.3046, 6.0252)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9527 #2F2795
analogous
#956627 #8D9527 #569527
triadic
#8D9527 #278D95 #95278D
tetradic
#8D9527 #279566 #2F2795 #952756
square
#8D9527 #279566 #2F2795 #952756
split-complementary
#8D9527 #275695 #662795
monochromatic
#31340E #5F641A #8D9527 #BBC634 #CDD661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9527#FFFFFF#000000##000000
##8D95271.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)
#A08E12
Deuteranopia (green-blind)
#A09030
Tritanopia (blue-blind)
#978C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9527;
/* rgb */ color: rgb(141, 149, 39);
/* oklch */ color: oklch(64.3% 0.129 113.6);
Tailwind
colors: {
  custom: {
    50: '#b1b469',
    500: '#8d9527',
    950: '#000000',
  },
}
SCSS
$custom: #8d9527;
$custom-light: #b1b469;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9527",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 64.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.12935,
    "h": 113.6
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

primary
#8D9527
secondary
#645DBB
accent
#46E251
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9527

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

Preview Lab → · Contrast checker → · Palette generator →

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