#8FA771#8FA771

#8FA771 is a light, moderate yellow-green. Relative luminance 0.347; OKLCH L 69.6% C 0.080 H 127.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8FA771
RGBrgb(143, 167, 113)
HSLhsl(87, 23%, 55%)
HSVhsv(87, 32%, 65%)
CMYKcmyk(14.4%, 0%, 32.3%, 34.5%)
CIE-LABlab(65.49, -18.06, 25.26)
CIE-LCHlch(65.49, 31.05, 125.56°)
OKLaboklab(69.61% -0.049 0.0631)
OKLCHoklch(69.61% 0.08 127.8)
XYZxyz(28.1266, 34.6691, 20.8296)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA771 #8971A7
analogous
#A7A471 #8FA771 #74A771
triadic
#8FA771 #718FA7 #A7718F
tetradic
#8FA771 #71A7A4 #8971A7 #A77174
square
#8FA771 #71A7A4 #8971A7 #A77174
split-complementary
#8FA771 #7174A7 #A471A7
monochromatic
#51613C #708754 #8FA771 #ADBE97 #CBD6BD

Accessibility & contrast

On white

2.65
#8FA771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#8FA771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA771
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA771#FFFFFF#000000##000000
##8FA7711.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA06D
Deuteranopia (green-blind)
#A99F74
Tritanopia (blue-blind)
#92A299
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8fa771;
/* rgb */ color: rgb(143, 167, 113);
/* oklch */ color: oklch(69.6% 0.080 127.8);
Tailwind
colors: {
  custom: {
    50: '#b0c19a',
    500: '#8fa771',
    950: '#000000',
  },
}
SCSS
$custom: #8fa771;
$custom-light: #b0c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa771",
  "rgb": {
    "r": 143,
    "g": 167,
    "b": 113
  },
  "hsl": {
    "h": 86.667,
    "s": 23.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.69612,
    "c": 0.07989,
    "h": 127.8
  },
  "luminance": 0.34669
}

Semantic roles & 50–950 ramp

primary
#8FA771
secondary
#B9AFC5
accent
#68C08F
background
#FAFBF9
surface
#F5F7F2
border
#CFD0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8FA771

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

Preview Lab → · Contrast checker → · Palette generator →

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