#8FB151#8FB151

#8FB151 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.4% C 0.130 H 125.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8FB151
RGBrgb(143, 177, 81)
HSLhsl(81, 38%, 51%)
HSVhsv(81, 54%, 69%)
CMYKcmyk(19.2%, 0%, 54.2%, 30.6%)
CIE-LABlab(67.93, -26.97, 44.76)
CIE-LCHlch(67.93, 52.25, 121.07°)
OKLaboklab(71.42% -0.0759 0.1055)
OKLCHoklch(71.42% 0.13 125.7)
XYZxyz(28.5350, 37.8777, 13.5908)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB151 #7351B1
analogous
#B1A351 #8FB151 #5FB151
triadic
#8FB151 #518FB1 #B1518F
tetradic
#8FB151 #51B1A3 #7351B1 #B1515F
square
#8FB151 #51B1A3 #7351B1 #B1515F
split-complementary
#8FB151 #515FB1 #A351B1
monochromatic
#4B5E2A #6D883D #8FB151 #AAC47B #C5D7A6

Accessibility & contrast

On white

2.45
#8FB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8FB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB151
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB151#FFFFFF#000000##000000
##8FB1511.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A748
Deuteranopia (green-blind)
#B5A557
Tritanopia (blue-blind)
#94AA9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8fb151;
/* rgb */ color: rgb(143, 177, 81);
/* oklch */ color: oklch(71.4% 0.130 125.7);
Tailwind
colors: {
  custom: {
    50: '#b2c885',
    500: '#8fb151',
    950: '#000000',
  },
}
SCSS
$custom: #8fb151;
$custom-light: #b2c885;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb151",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 81.25,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.13,
    "h": 125.7
  },
  "luminance": 0.37878
}

Semantic roles & 50–950 ramp

primary
#8FB151
secondary
#A99AC4
accent
#5ACE83
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8FB151

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

Preview Lab → · Contrast checker → · Palette generator →

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