#8FB271#8FB271

#8FB271 is a light, moderate yellow-green. Relative luminance 0.389; OKLCH L 72.2% C 0.097 H 131.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8FB271
RGBrgb(143, 178, 113)
HSLhsl(92, 30%, 57%)
HSVhsv(92, 37%, 70%)
CMYKcmyk(19.7%, 0%, 36.5%, 30.2%)
CIE-LABlab(68.66, -23.61, 29.45)
CIE-LCHlch(68.66, 37.74, 128.73°)
OKLaboklab(72.15% -0.0645 0.073)
OKLCHoklch(72.15% 0.097 131.5)
XYZxyz(30.2282, 38.8721, 21.5301)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB271 #9471B2
analogous
#AFB271 #8FB271 #71B274
triadic
#8FB271 #718FB2 #B2718F
tetradic
#8FB271 #71AFB2 #9471B2 #B27471
square
#8FB271 #71AFB2 #9471B2 #B27471
split-complementary
#8FB271 #7471B2 #B271AF
monochromatic
#526D3B #709551 #8FB271 #AEC899 #CEDDC0

Accessibility & contrast

On white

2.39
#8FB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#8FB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB271
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB271#FFFFFF#000000##000000
##8FB2711.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A96C
Deuteranopia (green-blind)
#B2A774
Tritanopia (blue-blind)
#91ADA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb271;
/* rgb */ color: rgb(143, 178, 113);
/* oklch */ color: oklch(72.2% 0.097 131.5);
Tailwind
colors: {
  custom: {
    50: '#b1c99a',
    500: '#8fb271',
    950: '#000000',
  },
}
SCSS
$custom: #8fb271;
$custom-light: #b1c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb271",
  "rgb": {
    "r": 143,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 92.308,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72152,
    "c": 0.09739,
    "h": 131.5
  },
  "luminance": 0.38873
}

Semantic roles & 50–950 ramp

primary
#8FB271
secondary
#C0B2CD
accent
#62C698
background
#FAFCF9
surface
#F5F8F2
border
#CFD1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #8FB271

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

Preview Lab → · Contrast checker → · Palette generator →

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