#8CB157#8CB157

#8CB157 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.3% C 0.126 H 127.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8CB157
RGBrgb(140, 177, 87)
HSLhsl(85, 37%, 52%)
HSVhsv(85, 51%, 69%)
CMYKcmyk(20.9%, 0%, 50.8%, 30.6%)
CIE-LABlab(67.80, -27.52, 41.65)
CIE-LCHlch(67.80, 49.92, 123.45°)
OKLaboklab(71.29% -0.0768 0.0993)
OKLCHoklch(71.29% 0.126 127.7)
XYZxyz(28.2575, 37.7074, 14.8045)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB157 #7C57B1
analogous
#B1A957 #8CB157 #5FB157
triadic
#8CB157 #578CB1 #B1578C
tetradic
#8CB157 #57B1A9 #7C57B1 #B1575F
square
#8CB157 #57B1A9 #7C57B1 #B1575F
split-complementary
#8CB157 #575FB1 #A957B1
monochromatic
#4B612D #6C8A40 #8CB157 #A9C481 #C5D8AB

Accessibility & contrast

On white

2.46
#8CB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#8CB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB157
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB157#FFFFFF#000000##000000
##8CB1571.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74F
Deuteranopia (green-blind)
#B3A45C
Tritanopia (blue-blind)
#90AA9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb157;
/* rgb */ color: rgb(140, 177, 87);
/* oklch */ color: oklch(71.3% 0.126 127.7);
Tailwind
colors: {
  custom: {
    50: '#afc888',
    500: '#8cb157',
    950: '#000000',
  },
}
SCSS
$custom: #8cb157;
$custom-light: #afc888;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb157",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 84.667,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71294,
    "c": 0.1255,
    "h": 127.7
  },
  "luminance": 0.37708
}

Semantic roles & 50–950 ramp

primary
#8CB157
secondary
#AE9EC6
accent
#5BCD8A
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB157

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

Preview Lab → · Contrast checker → · Palette generator →

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