#8CB540#8CB540

#8CB540 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.0% C 0.151 H 126.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8CB540
RGBrgb(140, 181, 64)
HSLhsl(81, 48%, 48%)
HSVhsv(81, 65%, 71%)
CMYKcmyk(22.7%, 0%, 64.6%, 29%)
CIE-LABlab(68.75, -31.55, 53.29)
CIE-LCHlch(68.75, 61.92, 120.63°)
OKLaboklab(71.98% -0.09 0.1219)
OKLCHoklch(71.98% 0.152 126.4)
XYZxyz(28.2646, 38.9929, 10.8868)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB540 #6940B5
analogous
#B5A340 #8CB540 #51B540
triadic
#8CB540 #408CB5 #B5408C
tetradic
#8CB540 #40B5A3 #6940B5 #B54051
square
#8CB540 #40B5A3 #6940B5 #B54051
split-complementary
#8CB540 #4051B5 #A340B5
monochromatic
#465B20 #698830 #8CB540 #A8CA68 #C2DA96

Accessibility & contrast

On white

2.39
#8CB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#8CB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB540
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB540#FFFFFF#000000##000000
##8CB5401.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B9A749
Tritanopia (blue-blind)
#91AD9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb540;
/* rgb */ color: rgb(140, 181, 64);
/* oklch */ color: oklch(72.0% 0.151 126.4);
Tailwind
colors: {
  custom: {
    50: '#b1cb7a',
    500: '#8cb540',
    950: '#000000',
  },
}
SCSS
$custom: #8cb540;
$custom-light: #b1cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb540",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 81.026,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7198,
    "c": 0.1515,
    "h": 126.4
  },
  "luminance": 0.38993
}

Semantic roles & 50–950 ramp

primary
#8CB540
secondary
#A08BC5
accent
#50D780
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB540

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

Preview Lab → · Contrast checker → · Palette generator →

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