#8D9524#8D9524

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

Color values

HEX#8D9524
RGBrgb(141, 149, 36)
HSLhsl(64, 61%, 36%)
HSVhsv(64, 76%, 58%)
CMYKcmyk(5.4%, 0%, 75.8%, 41.6%)
CIE-LABlab(59.24, -17.07, 54.58)
CIE-LCHlch(59.24, 57.19, 107.36°)
OKLaboklab(64.28% -0.0526 0.1202)
OKLCHoklch(64.28% 0.131 113.6)
XYZxyz(22.0511, 27.2854, 5.7737)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9524 #2C2495
analogous
#956524 #8D9524 #559524
triadic
#8D9524 #248D95 #95248D
tetradic
#8D9524 #249565 #2C2495 #952455
square
#8D9524 #249565 #2C2495 #952455
split-complementary
#8D9524 #245595 #652495
monochromatic
#30320C #5E6418 #8D9524 #BCC630 #CFD85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9524#FFFFFF#000000##000000
##8D95241.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)
#A08E0A
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#978C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9524;
/* rgb */ color: rgb(141, 149, 36);
/* oklch */ color: oklch(64.3% 0.131 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b468',
    500: '#8d9524',
    950: '#000000',
  },
}
SCSS
$custom: #8d9524;
$custom-light: #b2b468;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9524",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 64.248,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64275,
    "c": 0.13115,
    "h": 113.6
  },
  "luminance": 0.27285
}

Semantic roles & 50–950 ramp

primary
#8D9524
secondary
#6059BC
accent
#44E44F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9524

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

Preview Lab → · Contrast checker → · Palette generator →

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