#8D9522#8D9522

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

Color values

HEX#8D9522
RGBrgb(141, 149, 34)
HSLhsl(64, 63%, 36%)
HSVhsv(64, 77%, 58%)
CMYKcmyk(5.4%, 0%, 77.2%, 41.6%)
CIE-LABlab(59.23, -17.16, 55.25)
CIE-LCHlch(59.23, 57.85, 107.25°)
OKLaboklab(64.26% -0.053 0.1212)
OKLCHoklch(64.26% 0.132 113.6)
XYZxyz(22.0214, 27.2736, 5.6173)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9522 #2A2295
analogous
#956322 #8D9522 #539522
triadic
#8D9522 #228D95 #95228D
tetradic
#8D9522 #229563 #2A2295 #952253
square
#8D9522 #229563 #2A2295 #952253
split-complementary
#8D9522 #225395 #632295
monochromatic
#2F310B #5E6317 #8D9522 #BCC72D #D0D958

Accessibility & contrast

On white

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

On black

6.45
#8D9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9522
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9522#FFFFFF#000000##000000
##8D95221.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#978C7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9522;
/* rgb */ color: rgb(141, 149, 34);
/* oklch */ color: oklch(64.3% 0.132 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b467',
    500: '#8d9522',
    950: '#000000',
  },
}
SCSS
$custom: #8d9522;
$custom-light: #b2b467;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9522",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 64.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64263,
    "c": 0.13228,
    "h": 113.6
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

primary
#8D9522
secondary
#5D56BD
accent
#42E64D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9522

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

Preview Lab → · Contrast checker → · Palette generator →

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