#8CB532#8CB532

#8CB532 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.9% C 0.161 H 125.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8CB532
RGBrgb(140, 181, 50)
HSLhsl(79, 57%, 45%)
HSVhsv(79, 72%, 71%)
CMYKcmyk(22.7%, 0%, 72.4%, 29%)
CIE-LABlab(68.64, -32.49, 58.67)
CIE-LCHlch(68.64, 67.07, 118.98°)
OKLaboklab(71.86% -0.0938 0.1312)
OKLCHoklch(71.86% 0.161 125.6)
XYZxyz(27.9150, 38.8531, 9.0457)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB532 #5B32B5
analogous
#B59D32 #8CB532 #4AB532
triadic
#8CB532 #328CB5 #B5328C
tetradic
#8CB532 #32B59D #5B32B5 #B5324A
square
#8CB532 #32B59D #5B32B5 #B5324A
split-complementary
#8CB532 #324AB5 #9D32B5
monochromatic
#425518 #678525 #8CB532 #A9D054 #C1DD84

Accessibility & contrast

On white

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

On black

8.77
#8CB532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB532
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB532#FFFFFF#000000##000000
##8CB5321.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#92AC9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb532;
/* rgb */ color: rgb(140, 181, 50);
/* oklch */ color: oklch(71.9% 0.161 125.6);
Tailwind
colors: {
  custom: {
    50: '#b1cb73',
    500: '#8cb532',
    950: '#000000',
  },
}
SCSS
$custom: #8cb532;
$custom-light: #b1cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb532",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 78.779,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71865,
    "c": 0.16126,
    "h": 125.6
  },
  "luminance": 0.38853
}

Semantic roles & 50–950 ramp

primary
#8CB532
secondary
#947CC7
accent
#48E077
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB532

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

Preview Lab → · Contrast checker → · Palette generator →

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