#8CB25A#8CB25A

#8CB25A is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.6% C 0.124 H 128.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8CB25A
RGBrgb(140, 178, 90)
HSLhsl(86, 36%, 53%)
HSVhsv(86, 49%, 70%)
CMYKcmyk(21.3%, 0%, 49.4%, 30.2%)
CIE-LABlab(68.13, -27.67, 40.56)
CIE-LCHlch(68.13, 49.10, 124.30°)
OKLaboklab(71.57% -0.077 0.0971)
OKLCHoklch(71.57% 0.124 128.4)
XYZxyz(28.5809, 38.1540, 15.5295)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB25A #805AB2
analogous
#B2AC5A #8CB25A #60B25A
triadic
#8CB25A #5A8CB2 #B25A8C
tetradic
#8CB25A #5AB2AC #805AB2 #B25A60
square
#8CB25A #5AB2AC #805AB2 #B25A60
split-complementary
#8CB25A #5A60B2 #AC5AB2
monochromatic
#4C632E #6D8D42 #8CB25A #A9C584 #C6D9AD

Accessibility & contrast

On white

2.43
#8CB25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#8CB25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB25A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB25A#FFFFFF#000000##000000
##8CB25A1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A852
Deuteranopia (green-blind)
#B4A55F
Tritanopia (blue-blind)
#90AB9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb25a;
/* rgb */ color: rgb(140, 178, 90);
/* oklch */ color: oklch(71.6% 0.124 128.4);
Tailwind
colors: {
  custom: {
    50: '#afc98b',
    500: '#8cb25a',
    950: '#000000',
  },
}
SCSS
$custom: #8cb25a;
$custom-light: #afc98b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb25a",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 85.909,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71572,
    "c": 0.12393,
    "h": 128.4
  },
  "luminance": 0.38154
}

Semantic roles & 50–950 ramp

primary
#8CB25A
secondary
#B1A1C7
accent
#5BCC8C
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB25A

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

Preview Lab → · Contrast checker → · Palette generator →

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