#8FB478#8FB478

#8FB478 is a light, moderate yellow-green. Relative luminance 0.398; OKLCH L 72.7% C 0.093 H 134.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8FB478
RGBrgb(143, 180, 120)
HSLhsl(97, 29%, 59%)
HSVhsv(97, 33%, 71%)
CMYKcmyk(20.6%, 0%, 33.3%, 29.4%)
CIE-LABlab(69.35, -23.59, 26.65)
CIE-LCHlch(69.35, 35.59, 131.51°)
OKLaboklab(72.75% -0.0642 0.0666)
OKLCHoklch(72.75% 0.093 134)
XYZxyz(31.0384, 39.8376, 23.8198)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FB478 #9D78B4
analogous
#ADB478 #8FB478 #78B47F
triadic
#8FB478 #788FB4 #B4788F
tetradic
#8FB478 #78ADB4 #9D78B4 #B47F78
square
#8FB478 #78ADB4 #9D78B4 #B47F78
split-complementary
#8FB478 #7F78B4 #B478AD
monochromatic
#53723F #6F9A55 #8FB478 #B0CA9F #D0E0C7

Accessibility & contrast

On white

2.34
#8FB478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#8FB478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FB478
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FB478#FFFFFF#000000##000000
##8FB4781.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB74
Deuteranopia (green-blind)
#B3A87B
Tritanopia (blue-blind)
#8FAFA5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #8fb478;
/* rgb */ color: rgb(143, 180, 120);
/* oklch */ color: oklch(72.7% 0.093 134.0);
Tailwind
colors: {
  custom: {
    50: '#b0ca9f',
    500: '#8fb478',
    950: '#000000',
  },
}
SCSS
$custom: #8fb478;
$custom-light: #b0ca9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fb478",
  "rgb": {
    "r": 143,
    "g": 180,
    "b": 120
  },
  "hsl": {
    "h": 97,
    "s": 28.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.72749,
    "c": 0.09252,
    "h": 134
  },
  "luminance": 0.39838
}

Semantic roles & 50–950 ramp

primary
#8FB478
secondary
#C7B8D0
accent
#63C59F
background
#FAFCF9
surface
#F5F8F2
border
#CFD1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #8FB478

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

Preview Lab → · Contrast checker → · Palette generator →

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