#8CB255#8CB255

#8CB255 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.5% C 0.129 H 127.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8CB255
RGBrgb(140, 178, 85)
HSLhsl(85, 38%, 52%)
HSVhsv(85, 52%, 70%)
CMYKcmyk(21.3%, 0%, 52.2%, 30.2%)
CIE-LABlab(68.07, -28.21, 42.95)
CIE-LCHlch(68.07, 51.39, 123.30°)
OKLaboklab(71.5% -0.0789 0.102)
OKLCHoklch(71.5% 0.129 127.7)
XYZxyz(28.3752, 38.0717, 14.4462)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB255 #7B55B2
analogous
#B2AA55 #8CB255 #5EB255
triadic
#8CB255 #558CB2 #B2558C
tetradic
#8CB255 #55B2AA #7B55B2 #B2555E
square
#8CB255 #55B2AA #7B55B2 #B2555E
split-complementary
#8CB255 #555EB2 #AA55B2
monochromatic
#4B612C #6C8B3F #8CB255 #A8C57F #C5D8A9

Accessibility & contrast

On white

2.44
#8CB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#8CB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB255
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB255#FFFFFF#000000##000000
##8CB2551.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84C
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#90AB9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb255;
/* rgb */ color: rgb(140, 178, 85);
/* oklch */ color: oklch(71.5% 0.129 127.7);
Tailwind
colors: {
  custom: {
    50: '#b0c987',
    500: '#8cb255',
    950: '#000000',
  },
}
SCSS
$custom: #8cb255;
$custom-light: #b0c987;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb255",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 84.516,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.12892,
    "h": 127.7
  },
  "luminance": 0.38072
}

Semantic roles & 50–950 ramp

primary
#8CB255
secondary
#AE9DC6
accent
#5ACE89
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB255

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

Preview Lab → · Contrast checker → · Palette generator →

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