#8D9172#8D9172

#8D9172 is a light, muted yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.045 H 113.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8D9172
RGBrgb(141, 145, 114)
HSLhsl(68, 12%, 51%)
HSVhsv(68, 21%, 57%)
CMYKcmyk(2.8%, 0%, 21.4%, 43.1%)
CIE-LABlab(59.09, -7.00, 16.01)
CIE-LCHlch(59.09, 17.47, 113.63°)
OKLaboklab(64.49% -0.0179 0.0408)
OKLCHoklch(64.49% 0.045 113.6)
XYZxyz(24.1469, 27.1286, 19.8806)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9172 #767291
analogous
#918572 #8D9172 #7D9172
triadic
#8D9172 #728D91 #91728D
tetradic
#8D9172 #729185 #767291 #91727D
square
#8D9172 #729185 #767291 #91727D
split-complementary
#8D9172 #727D91 #857291
monochromatic
#4B4D3C #6C6F57 #8D9172 #A9AC94 #C5C7B7

Accessibility & contrast

On white

3.27
#8D9172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8D9172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9172
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9172#FFFFFF#000000##000000
##8D91721.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968E70
Deuteranopia (green-blind)
#968F73
Tritanopia (blue-blind)
#918D88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d9172;
/* rgb */ color: rgb(141, 145, 114);
/* oklch */ color: oklch(64.5% 0.045 113.6);
Tailwind
colors: {
  custom: {
    50: '#aeb19a',
    500: '#8d9172',
    950: '#000000',
  },
}
SCSS
$custom: #8d9172;
$custom-light: #aeb19a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9172",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 114
  },
  "hsl": {
    "h": 67.742,
    "s": 12.351,
    "l": 50.784
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.04456,
    "h": 113.6
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#8D9172
secondary
#AAA9B6
accent
#73B57B
background
#FAFAF9
surface
#F4F5F2
border
#CECFCC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8D9172

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

Preview Lab → · Contrast checker → · Palette generator →

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