#8F997E#8F997E

#8F997E is a light, muted yellow-green. Relative luminance 0.301; OKLCH L 66.7% C 0.040 H 124.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F997E
RGBrgb(143, 153, 126)
HSLhsl(82, 12%, 55%)
HSVhsv(82, 18%, 60%)
CMYKcmyk(6.5%, 0%, 17.6%, 40%)
CIE-LABlab(61.76, -8.62, 13.01)
CIE-LCHlch(61.76, 15.60, 123.52°)
OKLaboklab(66.73% -0.0226 0.0335)
OKLCHoklch(66.73% 0.04 124)
XYZxyz(26.4843, 30.1284, 24.1547)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F997E #887E99
analogous
#99957E #8F997E #82997E
triadic
#8F997E #7E8F99 #997E8F
tetradic
#8F997E #7E9995 #887E99 #997E82
square
#8F997E #7E9995 #887E99 #997E82
split-complementary
#8F997E #7E8299 #957E99
monochromatic
#515745 #707A60 #8F997E #ADB4A0 #CACFC2

Accessibility & contrast

On white

2.99
#8F997E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8F997E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F997E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F997E#FFFFFF#000000##000000
##8F997E1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C957C
Deuteranopia (green-blind)
#9B957F
Tritanopia (blue-blind)
#919691
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f997e;
/* rgb */ color: rgb(143, 153, 126);
/* oklch */ color: oklch(66.7% 0.040 124.0);
Tailwind
colors: {
  custom: {
    50: '#b0b7a3',
    500: '#8f997e',
    950: '#000000',
  },
}
SCSS
$custom: #8f997e;
$custom-light: #b0b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f997e",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 126
  },
  "hsl": {
    "h": 82.222,
    "s": 11.688,
    "l": 54.706
  },
  "oklch": {
    "l": 0.66728,
    "c": 0.04036,
    "h": 124
  },
  "luminance": 0.30128
}

Semantic roles & 50–950 ramp

primary
#8F997E
secondary
#B8B4BF
accent
#73B58B
background
#FAFBFA
surface
#F4F6F3
border
#CED0CD
text
#10110F
muted
#7F807F

Preview Lab

Preview with #8F997E

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

Preview Lab → · Contrast checker → · Palette generator →

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