#8CB531#8CB531

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

Color values

HEX#8CB531
RGBrgb(140, 181, 49)
HSLhsl(79, 57%, 45%)
HSVhsv(79, 73%, 71%)
CMYKcmyk(22.7%, 0%, 72.9%, 29%)
CIE-LABlab(68.64, -32.55, 59.02)
CIE-LCHlch(68.64, 67.40, 118.88°)
OKLaboklab(71.86% -0.0941 0.1317)
OKLCHoklch(71.86% 0.162 125.5)
XYZxyz(27.8937, 38.8446, 8.9333)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB531 #5A31B5
analogous
#B59C31 #8CB531 #4AB531
triadic
#8CB531 #318CB5 #B5318C
tetradic
#8CB531 #31B59C #5A31B5 #B5314A
square
#8CB531 #31B59C #5A31B5 #B5314A
split-complementary
#8CB531 #314AB5 #9C31B5
monochromatic
#415517 #678524 #8CB531 #A9D053 #C1DD83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB531#FFFFFF#000000##000000
##8CB5311.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)
#BFA918
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#92AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb531;
/* rgb */ color: rgb(140, 181, 49);
/* oklch */ color: oklch(71.9% 0.162 125.5);
Tailwind
colors: {
  custom: {
    50: '#b1cb72',
    500: '#8cb531',
    950: '#000000',
  },
}
SCSS
$custom: #8cb531;
$custom-light: #b1cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb531",
  "rgb": {
    "r": 140,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 78.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71858,
    "c": 0.16187,
    "h": 125.5
  },
  "luminance": 0.38845
}

Semantic roles & 50–950 ramp

primary
#8CB531
secondary
#937BC7
accent
#47E177
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB531

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

Preview Lab → · Contrast checker → · Palette generator →

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