#8D9847#8D9847

#8D9847 is a light, moderate yellow. Relative luminance 0.286; OKLCH L 65.3% C 0.107 H 115.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D9847
RGBrgb(141, 152, 71)
HSLhsl(68, 36%, 44%)
HSVhsv(68, 53%, 60%)
CMYKcmyk(7.2%, 0%, 53.3%, 40.4%)
CIE-LABlab(60.40, -16.18, 40.76)
CIE-LCHlch(60.40, 43.86, 111.64°)
OKLaboklab(65.3% -0.0465 0.0959)
OKLCHoklch(65.3% 0.107 115.8)
XYZxyz(23.3504, 28.5744, 10.2453)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9847 #524798
analogous
#987A47 #8D9847 #649847
triadic
#8D9847 #478D98 #98478D
tetradic
#8D9847 #47987A #524798 #984764
square
#8D9847 #47987A #524798 #984764
split-complementary
#8D9847 #476498 #7A4798
monochromatic
#404520 #666E34 #8D9847 #ACB765 #C2CB8F

Accessibility & contrast

On white

3.13
#8D9847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8D9847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9847
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9847#FFFFFF#000000##000000
##8D98471.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1913F
Deuteranopia (green-blind)
#A0924C
Tritanopia (blue-blind)
#959086
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9847;
/* rgb */ color: rgb(141, 152, 71);
/* oklch */ color: oklch(65.3% 0.107 115.8);
Tailwind
colors: {
  custom: {
    50: '#b0b67d',
    500: '#8d9847',
    950: '#000000',
  },
}
SCSS
$custom: #8d9847;
$custom-light: #b0b67d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9847",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 71
  },
  "hsl": {
    "h": 68.148,
    "s": 36.323,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65304,
    "c": 0.1066,
    "h": 115.8
  },
  "luminance": 0.28574
}

Semantic roles & 50–950 ramp

primary
#8D9847
secondary
#8B85B6
accent
#5BCC6B
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11110A
muted
#80807C

Preview Lab

Preview with #8D9847

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

Preview Lab → · Contrast checker → · Palette generator →

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