#8F9871#8F9871

#8F9871 is a light, muted yellow-green. Relative luminance 0.295; OKLCH L 66.2% C 0.056 H 118.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8F9871
RGBrgb(143, 152, 113)
HSLhsl(74, 16%, 52%)
HSVhsv(74, 26%, 60%)
CMYKcmyk(5.9%, 0%, 25.7%, 40.4%)
CIE-LABlab(61.21, -10.17, 19.50)
CIE-LCHlch(61.21, 21.99, 117.55°)
OKLaboklab(66.2% -0.0268 0.0493)
OKLCHoklch(66.2% 0.056 118.5)
XYZxyz(25.5363, 29.4885, 19.9661)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9871 #7A7198
analogous
#988E71 #8F9871 #7C9871
triadic
#8F9871 #718F98 #98718F
tetradic
#8F9871 #71988E #7A7198 #98717C
square
#8F9871 #71988E #7A7198 #98717C
split-complementary
#8F9871 #717C98 #8E7198
monochromatic
#4D533C #6F7656 #8F9871 #ABB294 #C7CBB8

Accessibility & contrast

On white

3.04
#8F9871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8F9871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9871
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9871#FFFFFF#000000##000000
##8F98711.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D946F
Deuteranopia (green-blind)
#9C9473
Tritanopia (blue-blind)
#93948E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9871;
/* rgb */ color: rgb(143, 152, 113);
/* oklch */ color: oklch(66.2% 0.056 118.5);
Tailwind
colors: {
  custom: {
    50: '#b0b69a',
    500: '#8f9871',
    950: '#000000',
  },
}
SCSS
$custom: #8f9871;
$custom-light: #b0b69a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9871",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 113
  },
  "hsl": {
    "h": 73.846,
    "s": 15.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.66198,
    "c": 0.05613,
    "h": 118.5
  },
  "luminance": 0.29488
}

Semantic roles & 50–950 ramp

primary
#8F9871
secondary
#AEAABB
accent
#6FB980
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8F9871

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

Preview Lab → · Contrast checker → · Palette generator →

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