#8D9841#8D9841

#8D9841 is a light, moderate yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.112 H 115.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8D9841
RGBrgb(141, 152, 65)
HSLhsl(68, 40%, 43%)
HSVhsv(68, 57%, 60%)
CMYKcmyk(7.2%, 0%, 57.2%, 40.4%)
CIE-LABlab(60.34, -16.72, 43.60)
CIE-LCHlch(60.34, 46.70, 110.98°)
OKLaboklab(65.23% -0.0486 0.1014)
OKLCHoklch(65.23% 0.112 115.6)
XYZxyz(23.1673, 28.5012, 9.2808)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9841 #4C4198
analogous
#987741 #8D9841 #629841
triadic
#8D9841 #418D98 #98418D
tetradic
#8D9841 #419877 #4C4198 #984162
square
#8D9841 #419877 #4C4198 #984162
split-complementary
#8D9841 #416298 #774198
monochromatic
#3D421C #656D2F #8D9841 #AEBA5D #C3CC88

Accessibility & contrast

On white

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

On black

6.70
#8D9841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9841
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9841#FFFFFF#000000##000000
##8D98411.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29138
Deuteranopia (green-blind)
#A19246
Tritanopia (blue-blind)
#959085
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9841;
/* rgb */ color: rgb(141, 152, 65);
/* oklch */ color: oklch(65.2% 0.112 115.6);
Tailwind
colors: {
  custom: {
    50: '#b0b679',
    500: '#8d9841',
    950: '#000000',
  },
}
SCSS
$custom: #8d9841;
$custom-light: #b0b679;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9841",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 67.586,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65231,
    "c": 0.11246,
    "h": 115.6
  },
  "luminance": 0.28501
}

Semantic roles & 50–950 ramp

primary
#8D9841
secondary
#857EB7
accent
#58D067
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9841

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

Preview Lab → · Contrast checker → · Palette generator →

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