#8D9752#8D9752

#8D9752 is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.2% C 0.094 H 115.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D9752
RGBrgb(141, 151, 82)
HSLhsl(69, 30%, 46%)
HSVhsv(69, 46%, 59%)
CMYKcmyk(6.6%, 0%, 45.7%, 40.8%)
CIE-LABlab(60.25, -14.53, 34.99)
CIE-LCHlch(60.25, 37.89, 112.55°)
OKLaboklab(65.23% -0.0407 0.0842)
OKLCHoklch(65.23% 0.094 115.8)
XYZxyz(23.5743, 28.4054, 12.2219)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9752 #5C5297
analogous
#977E52 #8D9752 #6A9752
triadic
#8D9752 #528D97 #97528D
tetradic
#8D9752 #52977E #5C5297 #97526A
square
#8D9752 #52977E #5C5297 #97526A
split-complementary
#8D9752 #526A97 #7E5297
monochromatic
#434827 #686F3C #8D9752 #AAB373 #C2C99B

Accessibility & contrast

On white

3.14
#8D9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8D9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9752
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9752#FFFFFF#000000##000000
##8D97521.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F914C
Deuteranopia (green-blind)
#9F9255
Tritanopia (blue-blind)
#949087
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9752;
/* rgb */ color: rgb(141, 151, 82);
/* oklch */ color: oklch(65.2% 0.094 115.8);
Tailwind
colors: {
  custom: {
    50: '#afb584',
    500: '#8d9752',
    950: '#000000',
  },
}
SCSS
$custom: #8d9752;
$custom-light: #afb584;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9752",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 68.696,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65228,
    "c": 0.09352,
    "h": 115.8
  },
  "luminance": 0.28405
}

Semantic roles & 50–950 ramp

primary
#8D9752
secondary
#958FB6
accent
#62C670
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #8D9752

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

Preview Lab → · Contrast checker → · Palette generator →

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