#8CB631#8CB631

#8CB631 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.1% C 0.163 H 125.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8CB631
RGBrgb(140, 182, 49)
HSLhsl(79, 58%, 45%)
HSVhsv(79, 73%, 71%)
CMYKcmyk(23.1%, 0%, 73.1%, 28.6%)
CIE-LABlab(68.93, -33.02, 59.31)
CIE-LCHlch(68.93, 67.88, 119.10°)
OKLaboklab(72.1% -0.0953 0.1323)
OKLCHoklch(72.1% 0.163 125.8)
XYZxyz(28.0977, 39.2527, 9.0014)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB631 #5B31B6
analogous
#B69D31 #8CB631 #4AB631
triadic
#8CB631 #318CB6 #B6318C
tetradic
#8CB631 #31B69D #5B31B6 #B6314A
square
#8CB631 #31B69D #5B31B6 #B6314A
split-complementary
#8CB631 #314AB6 #9D31B6
monochromatic
#425617 #678624 #8CB631 #A9D153 #C1DE84

Accessibility & contrast

On white

2.37
#8CB631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#8CB631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB631
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB631#FFFFFF#000000##000000
##8CB6311.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#92AD9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb631;
/* rgb */ color: rgb(140, 182, 49);
/* oklch */ color: oklch(72.1% 0.163 125.8);
Tailwind
colors: {
  custom: {
    50: '#b1cc72',
    500: '#8cb631',
    950: '#000000',
  },
}
SCSS
$custom: #8cb631;
$custom-light: #b1cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb631",
  "rgb": {
    "r": 140,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 78.947,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72098,
    "c": 0.1631,
    "h": 125.8
  },
  "luminance": 0.39253
}

Semantic roles & 50–950 ramp

primary
#8CB631
secondary
#947CC7
accent
#47E178
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB631

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

Preview Lab → · Contrast checker → · Palette generator →

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