#8FA478#8FA478

#8FA478 is a light, moderate yellow-green. Relative luminance 0.337; OKLCH L 69.1% C 0.066 H 128.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8FA478
RGBrgb(143, 164, 120)
HSLhsl(89, 19%, 56%)
HSVhsv(89, 27%, 64%)
CMYKcmyk(12.8%, 0%, 26.8%, 35.7%)
CIE-LABlab(64.76, -15.44, 20.47)
CIE-LCHlch(64.76, 25.64, 127.03°)
OKLaboklab(69.07% -0.0416 0.0518)
OKLCHoklch(69.07% 0.066 128.8)
XYZxyz(27.9928, 33.7464, 22.8046)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA478 #8D78A4
analogous
#A4A378 #8FA478 #79A478
triadic
#8FA478 #788FA4 #A4788F
tetradic
#8FA478 #78A4A3 #8D78A4 #A47879
square
#8FA478 #78A4A3 #8D78A4 #A47879
split-complementary
#8FA478 #7879A4 #A378A4
monochromatic
#526141 #70855A #8FA478 #ADBD9D #CCD5C1

Accessibility & contrast

On white

2.71
#8FA478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#8FA478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA478
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA478#FFFFFF#000000##000000
##8FA4781.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89E75
Deuteranopia (green-blind)
#A59D7A
Tritanopia (blue-blind)
#91A098
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8fa478;
/* rgb */ color: rgb(143, 164, 120);
/* oklch */ color: oklch(69.1% 0.066 128.8);
Tailwind
colors: {
  custom: {
    50: '#b0bf9f',
    500: '#8fa478',
    950: '#000000',
  },
}
SCSS
$custom: #8fa478;
$custom-light: #b0bf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa478",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 88.636,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.69071,
    "c": 0.06639,
    "h": 128.8
  },
  "luminance": 0.33747
}

Semantic roles & 50–950 ramp

primary
#8FA478
secondary
#BBB3C5
accent
#6CBC92
background
#FAFBF9
surface
#F4F7F2
border
#CED0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8FA478

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

Preview Lab → · Contrast checker → · Palette generator →

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