#8CB951#8CB951

#8CB951 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.1% C 0.143 H 128.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8CB951
RGBrgb(140, 185, 81)
HSLhsl(86, 43%, 52%)
HSVhsv(86, 56%, 73%)
CMYKcmyk(24.3%, 0%, 56.2%, 27.5%)
CIE-LABlab(70.08, -31.94, 47.21)
CIE-LCHlch(70.08, 57.00, 124.08°)
OKLaboklab(73.11% -0.0896 0.1109)
OKLCHoklch(73.11% 0.143 128.9)
XYZxyz(29.6492, 40.8668, 14.1090)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB951 #7E51B9
analogous
#B9B251 #8CB951 #58B951
triadic
#8CB951 #518CB9 #B9518C
tetradic
#8CB951 #51B9B2 #7E51B9 #B95158
square
#8CB951 #51B9B2 #7E51B9 #B95158
split-complementary
#8CB951 #5158B9 #B251B9
monochromatic
#4C6629 #6C923B #8CB951 #A9CB7D #C6DCA8

Accessibility & contrast

On white

2.29
#8CB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#8CB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB951
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB951#FFFFFF#000000##000000
##8CB9511.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#BBAA58
Tritanopia (blue-blind)
#90B2A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8cb951;
/* rgb */ color: rgb(140, 185, 81);
/* oklch */ color: oklch(73.1% 0.143 128.9);
Tailwind
colors: {
  custom: {
    50: '#b0ce85',
    500: '#8cb951',
    950: '#000000',
  },
}
SCSS
$custom: #8cb951;
$custom-light: #b0ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb951",
  "rgb": {
    "r": 140,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 85.962,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73113,
    "c": 0.14254,
    "h": 128.9
  },
  "luminance": 0.40867
}

Semantic roles & 50–950 ramp

primary
#8CB951
secondary
#B09CCA
accent
#55D28B
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB951

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

Preview Lab → · Contrast checker → · Palette generator →

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