#8CB451#8CB451

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

Color values

HEX#8CB451
RGBrgb(140, 180, 81)
HSLhsl(84, 40%, 51%)
HSVhsv(84, 55%, 71%)
CMYKcmyk(22.2%, 0%, 55%, 29.4%)
CIE-LABlab(68.61, -29.58, 45.51)
CIE-LCHlch(68.61, 54.28, 123.03°)
OKLaboklab(71.93% -0.083 0.1072)
OKLCHoklch(71.93% 0.136 127.8)
XYZxyz(28.6216, 38.8116, 13.7664)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB451 #7951B4
analogous
#B4AA51 #8CB451 #5AB451
triadic
#8CB451 #518CB4 #B4518C
tetradic
#8CB451 #51B4AA #7951B4 #B4515A
square
#8CB451 #51B4AA #7951B4 #B4515A
split-complementary
#8CB451 #515AB4 #AA51B4
monochromatic
#4B612A #6C8C3C #8CB451 #A8C67C #C5D9A7

Accessibility & contrast

On white

2.40
#8CB451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#8CB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB451
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB451#FFFFFF#000000##000000
##8CB4511.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA947
Deuteranopia (green-blind)
#B6A757
Tritanopia (blue-blind)
#90AD9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb451;
/* rgb */ color: rgb(140, 180, 81);
/* oklch */ color: oklch(71.9% 0.136 127.8);
Tailwind
colors: {
  custom: {
    50: '#b0ca85',
    500: '#8cb451',
    950: '#000000',
  },
}
SCSS
$custom: #8cb451;
$custom-light: #b0ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb451",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 84.242,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.71926,
    "c": 0.13558,
    "h": 127.8
  },
  "luminance": 0.38812
}

Semantic roles & 50–950 ramp

primary
#8CB451
secondary
#AC9BC6
accent
#58D088
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB451

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

Preview Lab → · Contrast checker → · Palette generator →

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