#8CB242#8CB242

#8CB242 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.3% C 0.146 H 125.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8CB242
RGBrgb(140, 178, 66)
HSLhsl(80, 46%, 48%)
HSVhsv(80, 63%, 70%)
CMYKcmyk(21.3%, 0%, 62.9%, 30.2%)
CIE-LABlab(67.88, -29.97, 51.50)
CIE-LCHlch(67.88, 59.59, 120.20°)
OKLaboklab(71.29% -0.0855 0.1184)
OKLCHoklch(71.29% 0.146 125.8)
XYZxyz(27.7191, 37.8092, 10.9908)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB242 #6842B2
analogous
#B2A042 #8CB242 #54B242
triadic
#8CB242 #428CB2 #B2428C
tetradic
#8CB242 #42B2A0 #6842B2 #B24254
square
#8CB242 #42B2A0 #6842B2 #B24254
split-complementary
#8CB242 #4254B2 #A042B2
monochromatic
#465921 #698531 #8CB242 #A8C86A #C2D896

Accessibility & contrast

On white

2.45
#8CB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#8CB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB242
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB242#FFFFFF#000000##000000
##8CB2421.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#92AA9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb242;
/* rgb */ color: rgb(140, 178, 66);
/* oklch */ color: oklch(71.3% 0.146 125.8);
Tailwind
colors: {
  custom: {
    50: '#b0c97b',
    500: '#8cb242',
    950: '#000000',
  },
}
SCSS
$custom: #8cb242;
$custom-light: #b0c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb242",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 80.357,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.14599,
    "h": 125.8
  },
  "luminance": 0.3781
}

Semantic roles & 50–950 ramp

primary
#8CB242
secondary
#9F8CC4
accent
#52D67F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB242

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

Preview Lab → · Contrast checker → · Palette generator →

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