#8F8977#8F8977

#8F8977 is a light, muted yellow. Relative luminance 0.251; OKLCH L 63.0% C 0.027 H 91.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8F8977
RGBrgb(143, 137, 119)
HSLhsl(45, 10%, 51%)
HSVhsv(45, 17%, 56%)
CMYKcmyk(0%, 4.2%, 16.8%, 43.9%)
CIE-LABlab(57.14, -0.97, 10.46)
CIE-LCHlch(57.14, 10.51, 95.29°)
OKLaboklab(63.02% -0.0008 0.0271)
OKLCHoklch(63.02% 0.027 91.7)
XYZxyz(23.6029, 25.0632, 21.0435)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8977 #777D8F
analogous
#8F7D77 #8F8977 #898F77
triadic
#8F8977 #778F89 #89778F
tetradic
#8F8977 #778F7D #777D8F #8F7789
square
#8F8977 #778F7D #777D8F #8F7789
split-complementary
#8F8977 #77898F #7D778F
monochromatic
#4D493F #6E695B #8F8977 #ABA699 #C6C3BA

Accessibility & contrast

On white

3.49
#8F8977 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8F8977 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8977
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8977#FFFFFF#000000##000000
##8F89771.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8876
Deuteranopia (green-blind)
#8F8A78
Tritanopia (blue-blind)
#938684
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8977;
/* rgb */ color: rgb(143, 137, 119);
/* oklch */ color: oklch(63.0% 0.027 91.7);
Tailwind
colors: {
  custom: {
    50: '#b0ab9e',
    500: '#8f8977',
    950: '#000000',
  },
}
SCSS
$custom: #8f8977;
$custom-light: #b0ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8977",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 119
  },
  "hsl": {
    "h": 45,
    "s": 9.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.02708,
    "h": 91.7
  },
  "luminance": 0.25063
}

Semantic roles & 50–950 ramp

primary
#8F8977
secondary
#ACAEB6
accent
#85B375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8F8977

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

Preview Lab → · Contrast checker → · Palette generator →

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