#8CB158#8CB158

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

Color values

HEX#8CB158
RGBrgb(140, 177, 88)
HSLhsl(85, 36%, 52%)
HSVhsv(85, 50%, 69%)
CMYKcmyk(20.9%, 0%, 50.3%, 30.6%)
CIE-LABlab(67.82, -27.41, 41.17)
CIE-LCHlch(67.82, 49.46, 123.65°)
OKLaboklab(71.31% -0.0764 0.0983)
OKLCHoklch(71.31% 0.125 127.9)
XYZxyz(28.2986, 37.7239, 15.0212)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB158 #7D58B1
analogous
#B1AA58 #8CB158 #5FB158
triadic
#8CB158 #588CB1 #B1588C
tetradic
#8CB158 #58B1AA #7D58B1 #B1585F
square
#8CB158 #58B1AA #7D58B1 #B1585F
split-complementary
#8CB158 #585FB1 #AA58B1
monochromatic
#4C612D #6C8B41 #8CB158 #A9C482 #C5D8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB158#FFFFFF#000000##000000
##8CB1581.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)
#B9A750
Deuteranopia (green-blind)
#B3A55D
Tritanopia (blue-blind)
#90AA9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb158;
/* rgb */ color: rgb(140, 177, 88);
/* oklch */ color: oklch(71.3% 0.124 127.9);
Tailwind
colors: {
  custom: {
    50: '#afc889',
    500: '#8cb158',
    950: '#000000',
  },
}
SCSS
$custom: #8cb158;
$custom-light: #afc889;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb158",
  "rgb": {
    "r": 140,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 84.944,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.1245,
    "h": 127.9
  },
  "luminance": 0.37724
}

Semantic roles & 50–950 ramp

primary
#8CB158
secondary
#AF9FC6
accent
#5BCC8A
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB158

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

Preview Lab → · Contrast checker → · Palette generator →

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