#8FA671#8FA671

#8FA671 is a light, moderate yellow-green. Relative luminance 0.343; OKLCH L 69.4% C 0.078 H 127.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8FA671
RGBrgb(143, 166, 113)
HSLhsl(86, 23%, 55%)
HSVhsv(86, 32%, 65%)
CMYKcmyk(13.9%, 0%, 31.9%, 34.9%)
CIE-LABlab(65.20, -17.54, 24.88)
CIE-LCHlch(65.20, 30.44, 125.19°)
OKLaboklab(69.38% -0.0475 0.0622)
OKLCHoklch(69.38% 0.078 127.4)
XYZxyz(27.9442, 34.3041, 20.7687)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA671 #8871A6
analogous
#A6A371 #8FA671 #74A671
triadic
#8FA671 #718FA6 #A6718F
tetradic
#8FA671 #71A6A3 #8871A6 #A67174
square
#8FA671 #71A6A3 #8871A6 #A67174
split-complementary
#8FA671 #7174A6 #A371A6
monochromatic
#51603C #708654 #8FA671 #ADBE97 #CAD5BC

Accessibility & contrast

On white

2.67
#8FA671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8FA671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA671
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA671#FFFFFF#000000##000000
##8FA6711.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6D
Deuteranopia (green-blind)
#A89E74
Tritanopia (blue-blind)
#92A198
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa671;
/* rgb */ color: rgb(143, 166, 113);
/* oklch */ color: oklch(69.4% 0.078 127.4);
Tailwind
colors: {
  custom: {
    50: '#b0c09a',
    500: '#8fa671',
    950: '#000000',
  },
}
SCSS
$custom: #8fa671;
$custom-light: #b0c09a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa671",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 86.038,
    "s": 22.944,
    "l": 54.706
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.0783,
    "h": 127.4
  },
  "luminance": 0.34304
}

Semantic roles & 50–950 ramp

primary
#8FA671
secondary
#B8AEC5
accent
#68BF8E
background
#FAFBF9
surface
#F5F7F2
border
#CFD0CC
text
#10120E
muted
#7F817E

Preview Lab

Preview with #8FA671

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

Preview Lab → · Contrast checker → · Palette generator →

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