#8CB840#8CB840

#8CB840 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.7% C 0.155 H 127.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8CB840
RGBrgb(140, 184, 64)
HSLhsl(82, 48%, 49%)
HSVhsv(82, 65%, 72%)
CMYKcmyk(23.9%, 0%, 65.2%, 27.8%)
CIE-LABlab(69.63, -32.95, 54.23)
CIE-LCHlch(69.63, 63.46, 121.28°)
OKLaboklab(72.7% -0.0939 0.1239)
OKLCHoklch(72.7% 0.155 127.2)
XYZxyz(28.8811, 40.2261, 11.0923)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB840 #6C40B8
analogous
#B8A840 #8CB840 #50B840
triadic
#8CB840 #408CB8 #B8408C
tetradic
#8CB840 #40B8A8 #6C40B8 #B84050
square
#8CB840 #40B8A8 #6C40B8 #B84050
split-complementary
#8CB840 #4050B8 #A840B8
monochromatic
#475D20 #698B30 #8CB840 #A8CB6A #C2DB97

Accessibility & contrast

On white

2.32
#8CB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#8CB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB840
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB840#FFFFFF#000000##000000
##8CB8401.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#BBA949
Tritanopia (blue-blind)
#91B09F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8cb840;
/* rgb */ color: rgb(140, 184, 64);
/* oklch */ color: oklch(72.7% 0.155 127.2);
Tailwind
colors: {
  custom: {
    50: '#b1cd7b',
    500: '#8cb840',
    950: '#000000',
  },
}
SCSS
$custom: #8cb840;
$custom-light: #b1cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb840",
  "rgb": {
    "r": 140,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 82,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72696,
    "c": 0.15541,
    "h": 127.2
  },
  "luminance": 0.40227
}

Semantic roles & 50–950 ramp

primary
#8CB840
secondary
#A28DC7
accent
#50D882
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB840

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

Preview Lab → · Contrast checker → · Palette generator →

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