#8CB831#8CB831

#8CB831 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.6% C 0.166 H 126.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8CB831
RGBrgb(140, 184, 49)
HSLhsl(80, 58%, 46%)
HSVhsv(80, 73%, 72%)
CMYKcmyk(23.9%, 0%, 73.4%, 27.8%)
CIE-LABlab(69.52, -33.94, 59.89)
CIE-LCHlch(69.52, 68.84, 119.54°)
OKLaboklab(72.58% -0.0979 0.1336)
OKLCHoklch(72.58% 0.166 126.2)
XYZxyz(28.5102, 40.0777, 9.1389)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB831 #5D31B8
analogous
#B8A131 #8CB831 #48B831
triadic
#8CB831 #318CB8 #B8318C
tetradic
#8CB831 #31B8A1 #5D31B8 #B83148
square
#8CB831 #31B8A1 #5D31B8 #B83148
split-complementary
#8CB831 #3148B8 #A131B8
monochromatic
#425717 #678824 #8CB831 #A9D255 #C1DE85

Accessibility & contrast

On white

2.33
#8CB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#8CB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB831
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB831#FFFFFF#000000##000000
##8CB8311.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#92AF9E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8cb831;
/* rgb */ color: rgb(140, 184, 49);
/* oklch */ color: oklch(72.6% 0.166 126.2);
Tailwind
colors: {
  custom: {
    50: '#b1cd73',
    500: '#8cb831',
    950: '#000000',
  },
}
SCSS
$custom: #8cb831;
$custom-light: #b1cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb831",
  "rgb": {
    "r": 140,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 79.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72577,
    "c": 0.16557,
    "h": 126.2
  },
  "luminance": 0.40078
}

Semantic roles & 50–950 ramp

primary
#8CB831
secondary
#957DC8
accent
#47E179
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB831

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

Preview Lab → · Contrast checker → · Palette generator →

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