#8D9531#8D9531

#8D9531 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.122 H 113.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D9531
RGBrgb(141, 149, 49)
HSLhsl(65, 51%, 39%)
HSVhsv(65, 67%, 58%)
CMYKcmyk(5.4%, 0%, 67.1%, 41.6%)
CIE-LABlab(59.32, -16.35, 49.69)
CIE-LCHlch(59.32, 52.31, 108.21°)
OKLaboklab(64.37% -0.0493 0.1121)
OKLCHoklch(64.37% 0.122 113.7)
XYZxyz(22.2869, 27.3798, 7.0159)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9531 #393195
analogous
#956B31 #8D9531 #5B9531
triadic
#8D9531 #318D95 #95318D
tetradic
#8D9531 #31956B #393195 #95315B
square
#8D9531 #31956B #393195 #95315B
split-complementary
#8D9531 #315B95 #6B3195
monochromatic
#363913 #616722 #8D9531 #B7C142 #C8D070

Accessibility & contrast

On white

3.24
#8D9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8D9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9531
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9531#FFFFFF#000000##000000
##8D95311.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#968C81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9531;
/* rgb */ color: rgb(141, 149, 49);
/* oklch */ color: oklch(64.4% 0.122 113.7);
Tailwind
colors: {
  custom: {
    50: '#b1b46f',
    500: '#8d9531',
    950: '#000000',
  },
}
SCSS
$custom: #8d9531;
$custom-light: #b1b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9531",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 64.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64372,
    "c": 0.12246,
    "h": 113.7
  },
  "luminance": 0.27379
}

Semantic roles & 50–950 ramp

primary
#8D9531
secondary
#706AB8
accent
#4EDA59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9531

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

Preview Lab → · Contrast checker → · Palette generator →

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