#8FA87F#8FA87F

#8FA87F is a light, moderate yellow-green. Relative luminance 0.354; OKLCH L 70.1% C 0.064 H 133.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8FA87F
RGBrgb(143, 168, 127)
HSLhsl(97, 19%, 58%)
HSVhsv(97, 24%, 66%)
CMYKcmyk(14.9%, 0%, 24.4%, 34.1%)
CIE-LABlab(66.04, -16.40, 18.39)
CIE-LCHlch(66.04, 24.64, 131.73°)
OKLaboklab(70.14% -0.0443 0.0468)
OKLCHoklch(70.14% 0.064 133.4)
XYZxyz(29.1604, 35.3768, 25.3667)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA87F #987FA8
analogous
#A4A87F #8FA87F #7FA883
triadic
#8FA87F #7F8FA8 #A87F8F
tetradic
#8FA87F #7FA4A8 #987FA8 #A8837F
square
#8FA87F #7FA4A8 #987FA8 #A8837F
split-complementary
#8FA87F #837FA8 #A87FA4
monochromatic
#536746 #708B5F #8FA87F #AFC1A3 #CFDAC8

Accessibility & contrast

On white

2.60
#8FA87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#8FA87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA87F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA87F#FFFFFF#000000##000000
##8FA87F1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27D
Deuteranopia (green-blind)
#A8A081
Tritanopia (blue-blind)
#90A59D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8fa87f;
/* rgb */ color: rgb(143, 168, 127);
/* oklch */ color: oklch(70.1% 0.064 133.4);
Tailwind
colors: {
  custom: {
    50: '#b0c2a4',
    500: '#8fa87f',
    950: '#000000',
  },
}
SCSS
$custom: #8fa87f;
$custom-light: #b0c2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa87f",
  "rgb": {
    "r": 143,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 96.585,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.06441,
    "h": 133.4
  },
  "luminance": 0.35377
}

Semantic roles & 50–950 ramp

primary
#8FA87F
secondary
#C3B9CA
accent
#6CBC9D
background
#FAFBFA
surface
#F4F7F4
border
#CED0CE
text
#10120F
muted
#7F817F

Preview Lab

Preview with #8FA87F

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

Preview Lab → · Contrast checker → · Palette generator →

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