#8CBC2A#8CBC2A

#8CBC2A is a light, vivid yellow-green. Relative luminance 0.417; OKLCH L 73.5% C 0.174 H 126.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#8CBC2A
RGBrgb(140, 188, 42)
HSLhsl(80, 63%, 45%)
HSVhsv(80, 78%, 74%)
CMYKcmyk(25.5%, 0%, 77.7%, 26.3%)
CIE-LABlab(70.67, -36.13, 63.28)
CIE-LCHlch(70.67, 72.87, 119.72°)
OKLaboklab(73.49% -0.1044 0.1396)
OKLCHoklch(73.49% 0.174 126.8)
XYZxyz(29.2165, 41.7085, 8.7013)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CBC2A #5A2ABC
analogous
#BCA32A #8CBC2A #43BC2A
triadic
#8CBC2A #2A8CBC #BC2A8C
tetradic
#8CBC2A #2ABCA3 #5A2ABC #BC2A43
square
#8CBC2A #2ABCA3 #5A2ABC #BC2A43
split-complementary
#8CBC2A #2A43BC #A32ABC
monochromatic
#415814 #678A1F #8CBC2A #A9D74C #C1E27E

Accessibility & contrast

On white

2.25
#8CBC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#8CBC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CBC2A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CBC2A#FFFFFF#000000##000000
##8CBC2A1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#92B3A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8cbc2a;
/* rgb */ color: rgb(140, 188, 42);
/* oklch */ color: oklch(73.5% 0.174 126.8);
Tailwind
colors: {
  custom: {
    50: '#b2d070',
    500: '#8cbc2a',
    950: '#000000',
  },
}
SCSS
$custom: #8cbc2a;
$custom-light: #b2d070;
$custom-dark: #000000;
JSON
{
  "hex": "#8cbc2a",
  "rgb": {
    "r": 140,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 79.726,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.17429,
    "h": 126.8
  },
  "luminance": 0.41709
}

Semantic roles & 50–950 ramp

primary
#8CBC2A
secondary
#9377CB
accent
#41E778
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111408
muted
#80827B

Preview Lab

Preview with #8CBC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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