#8CB45F#8CB45F

#8CB45F is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.1% C 0.122 H 129.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8CB45F
RGBrgb(140, 180, 95)
HSLhsl(88, 36%, 54%)
HSVhsv(88, 47%, 71%)
CMYKcmyk(22.2%, 0%, 47.2%, 29.4%)
CIE-LABlab(68.78, -28.06, 38.86)
CIE-LCHlch(68.78, 47.93, 125.83°)
OKLaboklab(72.12% -0.0777 0.0937)
OKLCHoklch(72.12% 0.122 129.7)
XYZxyz(29.2017, 39.0436, 16.8219)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB45F #875FB4
analogous
#B4B25F #8CB45F #62B45F
triadic
#8CB45F #5F8CB4 #B45F8C
tetradic
#8CB45F #5FB4B2 #875FB4 #B45F62
square
#8CB45F #5FB4B2 #875FB4 #B45F62
split-complementary
#8CB45F #5F62B4 #B25FB4
monochromatic
#4E6831 #6D9244 #8CB45F #AAC889 #C8DBB2

Accessibility & contrast

On white

2.38
#8CB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#8CB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB45F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB45F#FFFFFF#000000##000000
##8CB45F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA58
Deuteranopia (green-blind)
#B5A764
Tritanopia (blue-blind)
#8FAEA0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb45f;
/* rgb */ color: rgb(140, 180, 95);
/* oklch */ color: oklch(72.1% 0.122 129.7);
Tailwind
colors: {
  custom: {
    50: '#afca8e',
    500: '#8cb45f',
    950: '#000000',
  },
}
SCSS
$custom: #8cb45f;
$custom-light: #afca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb45f",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 88.235,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.1217,
    "h": 129.7
  },
  "luminance": 0.39044
}

Semantic roles & 50–950 ramp

primary
#8CB45F
secondary
#B6A5CA
accent
#5CCC91
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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