#8FB178#8FB178

#8FB178 is a light, moderate yellow-green. Relative luminance 0.386; OKLCH L 72.1% C 0.088 H 133.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8FB178
RGBrgb(143, 177, 120)
HSLhsl(96, 27%, 58%)
HSVhsv(96, 32%, 69%)
CMYKcmyk(19.2%, 0%, 32.2%, 30.6%)
CIE-LABlab(68.49, -22.09, 25.50)
CIE-LCHlch(68.49, 33.74, 130.90°)
OKLaboklab(72.06% -0.0601 0.0639)
OKLCHoklch(72.06% 0.088 133.3)
XYZxyz(30.4393, 38.6394, 23.6201)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB178 #9A78B1
analogous
#ACB178 #8FB178 #78B17D
triadic
#8FB178 #788FB1 #B1788F
tetradic
#8FB178 #78ACB1 #9A78B1 #B17D78
square
#8FB178 #78ACB1 #9A78B1 #B17D78
split-complementary
#8FB178 #7D78B1 #B178AC
monochromatic
#536F40 #709556 #8FB178 #AFC79F #CFDEC6

Accessibility & contrast

On white

2.41
#8FB178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#8FB178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB178
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB178#FFFFFF#000000##000000
##8FB1781.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A974
Deuteranopia (green-blind)
#B0A67B
Tritanopia (blue-blind)
#90ADA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8fb178;
/* rgb */ color: rgb(143, 177, 120);
/* oklch */ color: oklch(72.1% 0.088 133.3);
Tailwind
colors: {
  custom: {
    50: '#b0c89f',
    500: '#8fb178',
    950: '#000000',
  },
}
SCSS
$custom: #8fb178;
$custom-light: #b0c89f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb178",
  "rgb": {
    "r": 143,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 95.789,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.08768,
    "h": 133.3
  },
  "luminance": 0.3864
}

Semantic roles & 50–950 ramp

primary
#8FB178
secondary
#C5B7CE
accent
#65C39D
background
#FAFCF9
surface
#F5F8F2
border
#CFD1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8FB178

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

Preview Lab → · Contrast checker → · Palette generator →

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