#8CB159#8CB159

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

Color values

HEX#8CB159
RGBrgb(140, 177, 89)
HSLhsl(85, 36%, 52%)
HSVhsv(85, 50%, 69%)
CMYKcmyk(20.9%, 0%, 49.7%, 30.6%)
CIE-LABlab(67.83, -27.30, 40.69)
CIE-LCHlch(67.83, 49.00, 123.86°)
OKLaboklab(71.32% -0.076 0.0973)
OKLCHoklch(71.32% 0.123 128)
XYZxyz(28.3403, 37.7406, 15.2408)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB159 #7E59B1
analogous
#B1AA59 #8CB159 #60B159
triadic
#8CB159 #598CB1 #B1598C
tetradic
#8CB159 #59B1AA #7E59B1 #B15960
square
#8CB159 #59B1AA #7E59B1 #B15960
split-complementary
#8CB159 #5960B1 #AA59B1
monochromatic
#4C622E #6C8B41 #8CB159 #A9C583 #C6D8AC

Accessibility & contrast

On white

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

On black

8.55
#8CB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB159
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB159#FFFFFF#000000##000000
##8CB1591.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A751
Deuteranopia (green-blind)
#B3A55E
Tritanopia (blue-blind)
#90AA9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb159;
/* rgb */ color: rgb(140, 177, 89);
/* oklch */ color: oklch(71.3% 0.123 128.0);
Tailwind
colors: {
  custom: {
    50: '#afc88a',
    500: '#8cb159',
    950: '#000000',
  },
}
SCSS
$custom: #8cb159;
$custom-light: #afc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb159",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 85.227,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.12348,
    "h": 128
  },
  "luminance": 0.37741
}

Semantic roles & 50–950 ramp

primary
#8CB159
secondary
#B0A0C6
accent
#5CCC8B
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB159

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

Preview Lab → · Contrast checker → · Palette generator →

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