#8CBF40#8CBF40

#8CBF40 is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.4% C 0.164 H 128.6°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#8CBF40
RGBrgb(140, 191, 64)
HSLhsl(84, 50%, 50%)
HSVhsv(84, 66%, 75%)
CMYKcmyk(26.7%, 0%, 66.5%, 25.1%)
CIE-LABlab(71.69, -36.16, 56.42)
CIE-LCHlch(71.69, 67.01, 122.66°)
OKLaboklab(74.37% -0.1027 0.1285)
OKLCHoklch(74.37% 0.164 128.6)
XYZxyz(30.3713, 43.2065, 11.5890)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CBF40 #7340BF
analogous
#BFB240 #8CBF40 #4DBF40
triadic
#8CBF40 #408CBF #BF408C
tetradic
#8CBF40 #40BFB2 #7340BF #BF404D
square
#8CBF40 #40BFB2 #7340BF #BF404D
split-complementary
#8CBF40 #404DBF #B240BF
monochromatic
#496321 #6A9131 #8CBF40 #A8CE6E #C3DE9C

Accessibility & contrast

On white

2.18
#8CBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#8CBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CBF40
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CBF40#FFFFFF#000000##000000
##8CBF401.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#90B7A5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #8cbf40;
/* rgb */ color: rgb(140, 191, 64);
/* oklch */ color: oklch(74.4% 0.164 128.6);
Tailwind
colors: {
  custom: {
    50: '#b1d27b',
    500: '#8cbf40',
    950: '#000000',
  },
}
SCSS
$custom: #8cbf40;
$custom-light: #b1d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cbf40",
  "rgb": {
    "r": 140,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 84.094,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.7437,
    "c": 0.16447,
    "h": 128.6
  },
  "luminance": 0.43207
}

Semantic roles & 50–950 ramp

primary
#8CBF40
secondary
#A891CA
accent
#4ED986
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8CBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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