#8FB171#8FB171

#8FB171 is a light, moderate yellow-green. Relative luminance 0.385; OKLCH L 71.9% C 0.096 H 131.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8FB171
RGBrgb(143, 177, 113)
HSLhsl(92, 29%, 57%)
HSVhsv(92, 36%, 69%)
CMYKcmyk(19.2%, 0%, 36.2%, 30.6%)
CIE-LABlab(68.37, -23.12, 29.07)
CIE-LCHlch(68.37, 37.14, 128.50°)
OKLaboklab(71.92% -0.0631 0.0721)
OKLCHoklch(71.92% 0.096 131.2)
XYZxyz(30.0299, 38.4757, 21.4640)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB171 #9371B1
analogous
#AFB171 #8FB171 #71B173
triadic
#8FB171 #718FB1 #B1718F
tetradic
#8FB171 #71AFB1 #9371B1 #B17371
square
#8FB171 #71AFB1 #9371B1 #B17371
split-complementary
#8FB171 #7371B1 #B171AF
monochromatic
#526C3B #709451 #8FB171 #AEC799 #CDDCC0

Accessibility & contrast

On white

2.42
#8FB171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#8FB171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB171
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB171#FFFFFF#000000##000000
##8FB1711.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A86D
Deuteranopia (green-blind)
#B1A674
Tritanopia (blue-blind)
#91ACA1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb171;
/* rgb */ color: rgb(143, 177, 113);
/* oklch */ color: oklch(71.9% 0.096 131.2);
Tailwind
colors: {
  custom: {
    50: '#b1c89a',
    500: '#8fb171',
    950: '#000000',
  },
}
SCSS
$custom: #8fb171;
$custom-light: #b1c89a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb171",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 113
  },
  "hsl": {
    "h": 91.875,
    "s": 29.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7192,
    "c": 0.0958,
    "h": 131.2
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#8FB171
secondary
#C0B2CC
accent
#62C597
background
#FAFCF9
surface
#F5F8F2
border
#CFD1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #8FB171

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

Preview Lab → · Contrast checker → · Palette generator →

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