#8FB978#8FB978

#8FB978 is a light, moderate yellow-green. Relative luminance 0.419; OKLCH L 73.9% C 0.101 H 135.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#8FB978
RGBrgb(143, 185, 120)
HSLhsl(99, 32%, 60%)
HSVhsv(99, 35%, 73%)
CMYKcmyk(22.7%, 0%, 35.1%, 27.5%)
CIE-LABlab(70.80, -26.05, 28.57)
CIE-LCHlch(70.80, 38.66, 132.36°)
OKLaboklab(73.91% -0.0711 0.0711)
OKLCHoklch(73.91% 0.101 135)
XYZxyz(32.0660, 41.8928, 24.1623)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB978 #A278B9
analogous
#B0B978 #8FB978 #78B982
triadic
#8FB978 #788FB9 #B9788F
tetradic
#8FB978 #78B0B9 #A278B9 #B98278
square
#8FB978 #78B0B9 #A278B9 #B98278
split-complementary
#8FB978 #8278B9 #B978B0
monochromatic
#53783E #6FA153 #8FB978 #B0CEA0 #D2E3C9

Accessibility & contrast

On white

2.24
#8FB978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#8FB978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB978
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB978#FFFFFF#000000##000000
##8FB9781.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB074
Deuteranopia (green-blind)
#B7AC7B
Tritanopia (blue-blind)
#8FB4A8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8fb978;
/* rgb */ color: rgb(143, 185, 120);
/* oklch */ color: oklch(73.9% 0.101 135.0);
Tailwind
colors: {
  custom: {
    50: '#b1ce9f',
    500: '#8fb978',
    950: '#000000',
  },
}
SCSS
$custom: #8fb978;
$custom-light: #b1ce9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb978",
  "rgb": {
    "r": 143,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 98.769,
    "s": 31.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7391,
    "c": 0.10053,
    "h": 135
  },
  "luminance": 0.41894
}

Semantic roles & 50–950 ramp

primary
#8FB978
secondary
#CABAD3
accent
#60C8A3
background
#FBFCF9
surface
#F6F9F2
border
#D0D2CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #8FB978

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

Preview Lab → · Contrast checker → · Palette generator →

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