#8FA66C#8FA66C

#8FA66C is a light, moderate yellow-green. Relative luminance 0.342; OKLCH L 69.3% C 0.084 H 126.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8FA66C
RGBrgb(143, 166, 108)
HSLhsl(84, 25%, 54%)
HSVhsv(84, 35%, 65%)
CMYKcmyk(13.9%, 0%, 34.9%, 34.9%)
CIE-LABlab(65.12, -18.26, 27.46)
CIE-LCHlch(65.12, 32.97, 123.62°)
OKLaboklab(69.29% -0.0497 0.0682)
OKLCHoklch(69.29% 0.084 126.1)
XYZxyz(27.6704, 34.1946, 19.3269)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA66C #836CA6
analogous
#A6A06C #8FA66C #72A66C
triadic
#8FA66C #6C8FA6 #A66C8F
tetradic
#8FA66C #6CA6A0 #836CA6 #A66C72
square
#8FA66C #6CA6A0 #836CA6 #A66C72
split-complementary
#8FA66C #6C72A6 #A06CA6
monochromatic
#505E39 #708550 #8FA66C #ACBD92 #C9D4B8

Accessibility & contrast

On white

2.68
#8FA66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8FA66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA66C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA66C#FFFFFF#000000##000000
##8FA66C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9F68
Deuteranopia (green-blind)
#A99E6F
Tritanopia (blue-blind)
#92A197
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8fa66c;
/* rgb */ color: rgb(143, 166, 108);
/* oklch */ color: oklch(69.3% 0.084 126.1);
Tailwind
colors: {
  custom: {
    50: '#b0c096',
    500: '#8fa66c',
    950: '#000000',
  },
}
SCSS
$custom: #8fa66c;
$custom-light: #b0c096;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa66c",
  "rgb": {
    "r": 143,
    "g": 166,
    "b": 108
  },
  "hsl": {
    "h": 83.793,
    "s": 24.576,
    "l": 53.725
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.08436,
    "h": 126.1
  },
  "luminance": 0.34195
}

Semantic roles & 50–950 ramp

primary
#8FA66C
secondary
#B4AAC3
accent
#67C18B
background
#FAFBF9
surface
#F5F7F2
border
#CFD0CC
text
#10120D
muted
#7F817E

Preview Lab

Preview with #8FA66C

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

Preview Lab → · Contrast checker → · Palette generator →

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