#8D9846#8D9846

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

Color values

HEX#8D9846
RGBrgb(141, 152, 70)
HSLhsl(68, 37%, 44%)
HSVhsv(68, 54%, 60%)
CMYKcmyk(7.2%, 0%, 53.9%, 40.4%)
CIE-LABlab(60.39, -16.27, 41.24)
CIE-LCHlch(60.39, 44.34, 111.53°)
OKLaboklab(65.29% -0.0468 0.0969)
OKLCHoklch(65.29% 0.108 115.8)
XYZxyz(23.3186, 28.5617, 10.0777)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9846 #514698
analogous
#987A46 #8D9846 #649846
triadic
#8D9846 #468D98 #98468D
tetradic
#8D9846 #46987A #514698 #984664
square
#8D9846 #46987A #514698 #984664
split-complementary
#8D9846 #466498 #7A4698
monochromatic
#3F441F #666E33 #8D9846 #ACB764 #C3CB8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9846#FFFFFF#000000##000000
##8D98461.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)
#A1913E
Deuteranopia (green-blind)
#A1924B
Tritanopia (blue-blind)
#959086
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9846;
/* rgb */ color: rgb(141, 152, 70);
/* oklch */ color: oklch(65.3% 0.108 115.8);
Tailwind
colors: {
  custom: {
    50: '#b0b67c',
    500: '#8d9846',
    950: '#000000',
  },
}
SCSS
$custom: #8d9846;
$custom-light: #b0b67c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9846",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 70
  },
  "hsl": {
    "h": 68.049,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65292,
    "c": 0.1076,
    "h": 115.8
  },
  "luminance": 0.28561
}

Semantic roles & 50–950 ramp

primary
#8D9846
secondary
#8A84B6
accent
#5BCD6A
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11110A
muted
#80807C

Preview Lab

Preview with #8D9846

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

Preview Lab → · Contrast checker → · Palette generator →

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