#8CB040#8CB040

#8CB040 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.8% C 0.145 H 125.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8CB040
RGBrgb(140, 176, 64)
HSLhsl(79, 47%, 47%)
HSVhsv(79, 64%, 69%)
CMYKcmyk(20.5%, 0%, 63.6%, 31%)
CIE-LABlab(67.27, -29.18, 51.70)
CIE-LCHlch(67.27, 59.37, 119.44°)
OKLaboklab(70.79% -0.0834 0.1185)
OKLCHoklch(70.79% 0.145 125.1)
XYZxyz(27.2661, 36.9960, 10.5540)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB040 #6440B0
analogous
#B09C40 #8CB040 #54B040
triadic
#8CB040 #408CB0 #B0408C
tetradic
#8CB040 #40B09C #6440B0 #B04054
square
#8CB040 #40B09C #6440B0 #B04054
split-complementary
#8CB040 #4054B0 #9C40B0
monochromatic
#45561F #688330 #8CB040 #A8C766 #C2D893

Accessibility & contrast

On white

2.50
#8CB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#8CB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB040
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB040#FFFFFF#000000##000000
##8CB0401.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B4A348
Tritanopia (blue-blind)
#92A899
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb040;
/* rgb */ color: rgb(140, 176, 64);
/* oklch */ color: oklch(70.8% 0.145 125.1);
Tailwind
colors: {
  custom: {
    50: '#b0c77a',
    500: '#8cb040',
    950: '#000000',
  },
}
SCSS
$custom: #8cb040;
$custom-light: #b0c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb040",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 79.286,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7079,
    "c": 0.14497,
    "h": 125.1
  },
  "luminance": 0.36996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8CB040

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

Preview Lab → · Contrast checker → · Palette generator →

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