#8CB332#8CB332

#8CB332 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.4% C 0.159 H 125.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8CB332
RGBrgb(140, 179, 50)
HSLhsl(78, 56%, 45%)
HSVhsv(78, 72%, 70%)
CMYKcmyk(21.8%, 0%, 72.1%, 29.8%)
CIE-LABlab(68.05, -31.56, 58.09)
CIE-LCHlch(68.05, 66.11, 118.51°)
OKLaboklab(71.39% -0.0912 0.1299)
OKLCHoklch(71.39% 0.159 125.1)
XYZxyz(27.5112, 38.0456, 8.9111)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB332 #5932B3
analogous
#B39A32 #8CB332 #4BB332
triadic
#8CB332 #328CB3 #B3328C
tetradic
#8CB332 #32B39A #5932B3 #B3324B
square
#8CB332 #32B39A #5932B3 #B3324B
split-complementary
#8CB332 #324BB3 #9A32B3
monochromatic
#415317 #678325 #8CB332 #AACF53 #C1DC83

Accessibility & contrast

On white

2.44
#8CB332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8CB332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB332
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB332#FFFFFF#000000##000000
##8CB3321.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71B
Deuteranopia (green-blind)
#B8A53D
Tritanopia (blue-blind)
#92AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb332;
/* rgb */ color: rgb(140, 179, 50);
/* oklch */ color: oklch(71.4% 0.159 125.1);
Tailwind
colors: {
  custom: {
    50: '#b1ca72',
    500: '#8cb332',
    950: '#000000',
  },
}
SCSS
$custom: #8cb332;
$custom-light: #b1ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb332",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 78.14,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71387,
    "c": 0.15877,
    "h": 125.1
  },
  "luminance": 0.38046
}

Semantic roles & 50–950 ramp

primary
#8CB332
secondary
#927BC6
accent
#48E076
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB332

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

Preview Lab → · Contrast checker → · Palette generator →

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