#8CB26F#8CB26F

#8CB26F is a light, moderate yellow-green. Relative luminance 0.386; OKLCH L 71.9% C 0.101 H 132.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8CB26F
RGBrgb(140, 178, 111)
HSLhsl(94, 30%, 57%)
HSVhsv(94, 38%, 70%)
CMYKcmyk(21.3%, 0%, 37.6%, 30.2%)
CIE-LABlab(68.43, -25.01, 30.17)
CIE-LCHlch(68.43, 39.19, 129.66°)
OKLaboklab(71.91% -0.0684 0.0746)
OKLCHoklch(71.91% 0.101 132.5)
XYZxyz(29.6043, 38.5633, 20.9196)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB26F #956FB2
analogous
#AEB26F #8CB26F #6FB274
triadic
#8CB26F #6F8CB2 #B26F8C
tetradic
#8CB26F #6FAEB2 #956FB2 #B2746F
square
#8CB26F #6FAEB2 #956FB2 #B2746F
split-complementary
#8CB26F #746FB2 #B26FAE
monochromatic
#506D3A #6D944F #8CB26F #ACC797 #CCDDBF

Accessibility & contrast

On white

2.41
#8CB26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8CB26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB26F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB26F#FFFFFF#000000##000000
##8CB26F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96A
Deuteranopia (green-blind)
#B2A673
Tritanopia (blue-blind)
#8DADA1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb26f;
/* rgb */ color: rgb(140, 178, 111);
/* oklch */ color: oklch(71.9% 0.101 132.5);
Tailwind
colors: {
  custom: {
    50: '#afc999',
    500: '#8cb26f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb26f;
$custom-light: #afc999;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb26f",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 111
  },
  "hsl": {
    "h": 94.03,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.71911,
    "c": 0.1012,
    "h": 132.5
  },
  "luminance": 0.38564
}

Semantic roles & 50–950 ramp

primary
#8CB26F
secondary
#C0B1CC
accent
#61C79B
background
#FAFCF9
surface
#F4F8F2
border
#CED1CC
text
#10130E
muted
#7F827E

Preview Lab

Preview with #8CB26F

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

Preview Lab → · Contrast checker → · Palette generator →

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