#8CB351#8CB351

#8CB351 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.7% C 0.134 H 127.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8CB351
RGBrgb(140, 179, 81)
HSLhsl(84, 39%, 51%)
HSVhsv(84, 55%, 70%)
CMYKcmyk(21.8%, 0%, 54.7%, 29.8%)
CIE-LABlab(68.32, -29.10, 45.16)
CIE-LCHlch(68.32, 53.73, 122.80°)
OKLaboklab(71.69% -0.0817 0.1064)
OKLCHoklch(71.69% 0.134 127.5)
XYZxyz(28.4204, 38.4093, 13.6994)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB351 #7851B3
analogous
#B3A951 #8CB351 #5BB351
triadic
#8CB351 #518CB3 #B3518C
tetradic
#8CB351 #51B3A9 #7851B3 #B3515B
square
#8CB351 #51B3A9 #7851B3 #B3515B
split-complementary
#8CB351 #515BB3 #A951B3
monochromatic
#4A602A #6B8A3C #8CB351 #A8C67C #C4D8A6

Accessibility & contrast

On white

2.42
#8CB351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#8CB351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB351
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB351#FFFFFF#000000##000000
##8CB3511.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#B6A657
Tritanopia (blue-blind)
#90AC9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb351;
/* rgb */ color: rgb(140, 179, 81);
/* oklch */ color: oklch(71.7% 0.134 127.5);
Tailwind
colors: {
  custom: {
    50: '#b0ca85',
    500: '#8cb351',
    950: '#000000',
  },
}
SCSS
$custom: #8cb351;
$custom-light: #b0ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb351",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 83.878,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.13419,
    "h": 127.5
  },
  "luminance": 0.3841
}

Semantic roles & 50–950 ramp

primary
#8CB351
secondary
#AB9AC6
accent
#59CF88
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB351

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

Preview Lab → · Contrast checker → · Palette generator →

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