#8D9328#8D9328

#8D9328 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.126 H 112.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8D9328
RGBrgb(141, 147, 40)
HSLhsl(63, 57%, 37%)
HSVhsv(63, 73%, 58%)
CMYKcmyk(4.1%, 0%, 72.8%, 42.4%)
CIE-LABlab(58.68, -15.83, 52.61)
CIE-LCHlch(58.68, 54.94, 106.74°)
OKLaboklab(63.84% -0.0487 0.1167)
OKLCHoklch(63.84% 0.126 112.7)
XYZxyz(21.8019, 26.6839, 6.0091)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9328 #2E2893
analogous
#936428 #8D9328 #589328
triadic
#8D9328 #288D93 #93288D
tetradic
#8D9328 #289364 #2E2893 #932858
square
#8D9328 #289364 #2E2893 #932858
split-complementary
#8D9328 #285893 #642893
monochromatic
#31330E #5F631B #8D9328 #BBC335 #CED461

Accessibility & contrast

On white

3.31
#8D9328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8D9328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9328
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9328#FFFFFF#000000##000000
##8D93281.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#978A7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d9328;
/* rgb */ color: rgb(141, 147, 40);
/* oklch */ color: oklch(63.8% 0.126 112.7);
Tailwind
colors: {
  custom: {
    50: '#b1b26a',
    500: '#8d9328',
    950: '#000000',
  },
}
SCSS
$custom: #8d9328;
$custom-light: #b1b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9328",
  "rgb": {
    "r": 141,
    "g": 147,
    "b": 40
  },
  "hsl": {
    "h": 63.364,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63836,
    "c": 0.12649,
    "h": 112.7
  },
  "luminance": 0.26683
}

Semantic roles & 50–950 ramp

primary
#8D9328
secondary
#625DBA
accent
#47E050
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D9328

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

Preview Lab → · Contrast checker → · Palette generator →

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