#8CB131#8CB131

#8CB131 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.9% C 0.157 H 124.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8CB131
RGBrgb(140, 177, 49)
HSLhsl(77, 57%, 44%)
HSVhsv(77, 72%, 69%)
CMYKcmyk(20.9%, 0%, 72.3%, 30.6%)
CIE-LABlab(67.46, -30.67, 57.86)
CIE-LCHlch(67.46, 65.49, 117.93°)
OKLaboklab(70.9% -0.0889 0.1293)
OKLCHoklch(70.9% 0.157 124.5)
XYZxyz(27.0920, 37.2412, 8.6661)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB131 #5631B1
analogous
#B19631 #8CB131 #4CB131
triadic
#8CB131 #318CB1 #B1318C
tetradic
#8CB131 #31B196 #5631B1 #B1314C
square
#8CB131 #31B196 #5631B1 #B1314C
split-complementary
#8CB131 #314CB1 #9631B1
monochromatic
#405116 #668124 #8CB131 #AACF51 #C2DC80

Accessibility & contrast

On white

2.49
#8CB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8CB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB131
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB131#FFFFFF#000000##000000
##8CB1311.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51A
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#93A898
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb131;
/* rgb */ color: rgb(140, 177, 49);
/* oklch */ color: oklch(70.9% 0.157 124.5);
Tailwind
colors: {
  custom: {
    50: '#b1c872',
    500: '#8cb131',
    950: '#000000',
  },
}
SCSS
$custom: #8cb131;
$custom-light: #b1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb131",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 77.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.15692,
    "h": 124.5
  },
  "luminance": 0.37241
}

Semantic roles & 50–950 ramp

primary
#8CB131
secondary
#8F79C5
accent
#48E074
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB131

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

Preview Lab → · Contrast checker → · Palette generator →

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