#8FB157#8FB157

#8FB157 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.5% C 0.124 H 126.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8FB157
RGBrgb(143, 177, 87)
HSLhsl(83, 37%, 52%)
HSVhsv(83, 51%, 69%)
CMYKcmyk(19.2%, 0%, 50.8%, 30.6%)
CIE-LABlab(68.00, -26.35, 41.93)
CIE-LCHlch(68.00, 49.52, 122.15°)
OKLaboklab(71.5% -0.0737 0.0999)
OKLCHoklch(71.5% 0.124 126.4)
XYZxyz(28.7700, 37.9717, 14.8285)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB157 #7957B1
analogous
#B1A657 #8FB157 #62B157
triadic
#8FB157 #578FB1 #B1578F
tetradic
#8FB157 #57B1A6 #7957B1 #B15762
square
#8FB157 #57B1A6 #7957B1 #B15762
split-complementary
#8FB157 #5762B1 #A657B1
monochromatic
#4D612D #6E8A40 #8FB157 #ABC481 #C7D8AB

Accessibility & contrast

On white

2.44
#8FB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#8FB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB157
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB157#FFFFFF#000000##000000
##8FB1571.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74F
Deuteranopia (green-blind)
#B4A55C
Tritanopia (blue-blind)
#94AA9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8fb157;
/* rgb */ color: rgb(143, 177, 87);
/* oklch */ color: oklch(71.5% 0.124 126.4);
Tailwind
colors: {
  custom: {
    50: '#b1c888',
    500: '#8fb157',
    950: '#000000',
  },
}
SCSS
$custom: #8fb157;
$custom-light: #b1c888;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb157",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 82.667,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71502,
    "c": 0.12411,
    "h": 126.4
  },
  "luminance": 0.37972
}

Semantic roles & 50–950 ramp

primary
#8FB157
secondary
#AD9EC6
accent
#5BCD86
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8FB157

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

Preview Lab → · Contrast checker → · Palette generator →

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