#8D9941#8D9941

#8D9941 is a light, moderate yellow. Relative luminance 0.288; OKLCH L 65.5% C 0.114 H 116.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8D9941
RGBrgb(141, 153, 65)
HSLhsl(68, 40%, 43%)
HSVhsv(68, 58%, 60%)
CMYKcmyk(7.8%, 0%, 57.5%, 40%)
CIE-LABlab(60.63, -17.23, 43.93)
CIE-LCHlch(60.63, 47.19, 111.42°)
OKLaboklab(65.46% -0.0501 0.1021)
OKLCHoklch(65.46% 0.114 116.1)
XYZxyz(23.3303, 28.8271, 9.3352)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9941 #4D4199
analogous
#997941 #8D9941 #619941
triadic
#8D9941 #418D99 #99418D
tetradic
#8D9941 #419979 #4D4199 #994161
square
#8D9941 #419979 #4D4199 #994161
split-complementary
#8D9941 #416199 #794199
monochromatic
#3E431D #656E2F #8D9941 #ADBA5D #C3CC88

Accessibility & contrast

On white

3.10
#8D9941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#8D9941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9941
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9941#FFFFFF#000000##000000
##8D99411.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#A29346
Tritanopia (blue-blind)
#959186
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9941;
/* rgb */ color: rgb(141, 153, 65);
/* oklch */ color: oklch(65.5% 0.114 116.1);
Tailwind
colors: {
  custom: {
    50: '#b0b779',
    500: '#8d9941',
    950: '#000000',
  },
}
SCSS
$custom: #8d9941;
$custom-light: #b0b779;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9941",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 65
  },
  "hsl": {
    "h": 68.182,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.11373,
    "h": 116.1
  },
  "luminance": 0.28827
}

Semantic roles & 50–950 ramp

primary
#8D9941
secondary
#867FB7
accent
#58D068
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9941

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

Preview Lab → · Contrast checker → · Palette generator →

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