#8D9734#8D9734

#8D9734 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.9% C 0.122 H 114.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8D9734
RGBrgb(141, 151, 52)
HSLhsl(66, 49%, 40%)
HSVhsv(66, 66%, 59%)
CMYKcmyk(6.6%, 0%, 65.6%, 40.8%)
CIE-LABlab(59.93, -17.19, 49.05)
CIE-LCHlch(59.93, 51.97, 109.32°)
OKLaboklab(64.86% -0.0513 0.1112)
OKLCHoklch(64.86% 0.123 114.8)
XYZxyz(22.6715, 28.0442, 7.4669)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9734 #3E3497
analogous
#977034 #8D9734 #5B9734
triadic
#8D9734 #348D97 #97348D
tetradic
#8D9734 #349770 #3E3497 #97345B
square
#8D9734 #349770 #3E3497 #97345B
split-complementary
#8D9734 #345B97 #703497
monochromatic
#383C15 #626924 #8D9734 #B4C048 #C7D076

Accessibility & contrast

On white

3.18
#8D9734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8D9734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9734
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9734#FFFFFF#000000##000000
##8D97341.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29027
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#968E83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9734;
/* rgb */ color: rgb(141, 151, 52);
/* oklch */ color: oklch(64.9% 0.122 114.8);
Tailwind
colors: {
  custom: {
    50: '#b1b571',
    500: '#8d9734',
    950: '#000000',
  },
}
SCSS
$custom: #8d9734;
$custom-light: #b1b571;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9734",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 52
  },
  "hsl": {
    "h": 66.061,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64864,
    "c": 0.1225,
    "h": 114.8
  },
  "luminance": 0.28044
}

Semantic roles & 50–950 ramp

primary
#8D9734
secondary
#766FB8
accent
#4FD85D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9734

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

Preview Lab → · Contrast checker → · Palette generator →

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