#8CB05B#8CB05B

#8CB05B is a light, moderate yellow-green. Relative luminance 0.374; OKLCH L 71.1% C 0.120 H 128.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8CB05B
RGBrgb(140, 176, 91)
HSLhsl(85, 35%, 52%)
HSVhsv(85, 48%, 69%)
CMYKcmyk(20.5%, 0%, 48.3%, 31%)
CIE-LABlab(67.56, -26.58, 39.37)
CIE-LCHlch(67.56, 47.50, 124.03°)
OKLaboklab(71.11% -0.0739 0.0945)
OKLCHoklch(71.11% 0.12 128)
XYZxyz(28.2287, 37.3810, 15.6235)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB05B #7F5BB0
analogous
#B0AA5B #8CB05B #62B05B
triadic
#8CB05B #5B8CB0 #B05B8C
tetradic
#8CB05B #5BB0AA #7F5BB0 #B05B62
square
#8CB05B #5BB0AA #7F5BB0 #B05B62
split-complementary
#8CB05B #5B62B0 #AA5BB0
monochromatic
#4C622F #6C8B43 #8CB05B #A9C484 #C6D8AE

Accessibility & contrast

On white

2.48
#8CB05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#8CB05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB05B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB05B#FFFFFF#000000##000000
##8CB05B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A654
Deuteranopia (green-blind)
#B2A460
Tritanopia (blue-blind)
#90A99C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb05b;
/* rgb */ color: rgb(140, 176, 91);
/* oklch */ color: oklch(71.1% 0.120 128.0);
Tailwind
colors: {
  custom: {
    50: '#afc78b',
    500: '#8cb05b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb05b;
$custom-light: #afc78b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb05b",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 91
  },
  "hsl": {
    "h": 85.412,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.11997,
    "h": 128
  },
  "luminance": 0.37381
}

Semantic roles & 50–950 ramp

primary
#8CB05B
secondary
#B1A1C6
accent
#5DCB8B
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB05B

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

Preview Lab → · Contrast checker → · Palette generator →

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