#8D9178#8D9178

#8D9178 is a light, muted yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.036 H 114.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D9178
RGBrgb(141, 145, 120)
HSLhsl(70, 10%, 52%)
HSVhsv(70, 17%, 57%)
CMYKcmyk(2.8%, 0%, 17.2%, 43.1%)
CIE-LABlab(59.22, -6.03, 12.80)
CIE-LCHlch(59.22, 14.15, 115.22°)
OKLaboklab(64.63% -0.0152 0.0329)
OKLCHoklch(64.63% 0.036 114.8)
XYZxyz(24.4997, 27.2697, 21.7386)
Luminance0.2727 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9178 #7C7891
analogous
#918978 #8D9178 #819178
triadic
#8D9178 #788D91 #91788D
tetradic
#8D9178 #789189 #7C7891 #917881
square
#8D9178 #789189 #7C7891 #917881
split-complementary
#8D9178 #788191 #897891
monochromatic
#4C4F40 #6D705C #8D9178 #A9AC9A #C6C8BB

Accessibility & contrast

On white

3.25
#8D9178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8D9178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9178
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9178#FFFFFF#000000##000000
##8D91781.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958E77
Deuteranopia (green-blind)
#958F79
Tritanopia (blue-blind)
#908E8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d9178;
/* rgb */ color: rgb(141, 145, 120);
/* oklch */ color: oklch(64.6% 0.036 114.8);
Tailwind
colors: {
  custom: {
    50: '#aeb19f',
    500: '#8d9178',
    950: '#000000',
  },
}
SCSS
$custom: #8d9178;
$custom-light: #aeb19f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9178",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 120
  },
  "hsl": {
    "h": 69.6,
    "s": 10.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.03627,
    "h": 114.8
  },
  "luminance": 0.2727
}

Semantic roles & 50–950 ramp

primary
#8D9178
secondary
#AFADB8
accent
#75B37F
background
#FAFAF9
surface
#F4F5F2
border
#CECFCC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8D9178

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

Preview Lab → · Contrast checker → · Palette generator →

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