#8CB140#8CB140

#8CB140 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.0% C 0.146 H 125.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8CB140
RGBrgb(140, 177, 64)
HSLhsl(80, 47%, 47%)
HSVhsv(80, 64%, 69%)
CMYKcmyk(20.9%, 0%, 63.8%, 30.6%)
CIE-LABlab(67.57, -29.66, 52.02)
CIE-LCHlch(67.57, 59.88, 119.69°)
OKLaboklab(71.03% -0.0848 0.1192)
OKLCHoklch(71.03% 0.146 125.4)
XYZxyz(27.4629, 37.3896, 10.6196)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB140 #6540B1
analogous
#B19E40 #8CB140 #54B140
triadic
#8CB140 #408CB1 #B1408C
tetradic
#8CB140 #40B19E #6540B1 #B14054
square
#8CB140 #40B19E #6540B1 #B14054
split-complementary
#8CB140 #4054B1 #9E40B1
monochromatic
#45571F #688430 #8CB140 #A8C866 #C2D893

Accessibility & contrast

On white

2.48
#8CB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8CB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB140
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB140#FFFFFF#000000##000000
##8CB1401.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA632
Deuteranopia (green-blind)
#B5A448
Tritanopia (blue-blind)
#92A999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb140;
/* rgb */ color: rgb(140, 177, 64);
/* oklch */ color: oklch(71.0% 0.146 125.4);
Tailwind
colors: {
  custom: {
    50: '#b0c87a',
    500: '#8cb140',
    950: '#000000',
  },
}
SCSS
$custom: #8cb140;
$custom-light: #b0c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb140",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 79.646,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71027,
    "c": 0.14628,
    "h": 125.4
  },
  "luminance": 0.3739
}

Semantic roles & 50–950 ramp

primary
#8CB140
secondary
#9C89C3
accent
#51D77D
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB140

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

Preview Lab → · Contrast checker → · Palette generator →

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