#8CB45D#8CB45D

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

Color values

HEX#8CB45D
RGBrgb(140, 180, 93)
HSLhsl(88, 37%, 54%)
HSVhsv(88, 48%, 71%)
CMYKcmyk(22.2%, 0%, 48.3%, 29.4%)
CIE-LABlab(68.76, -28.29, 39.83)
CIE-LCHlch(68.76, 48.86, 125.39°)
OKLaboklab(72.09% -0.0785 0.0957)
OKLCHoklch(72.09% 0.124 129.4)
XYZxyz(29.1120, 39.0077, 16.3493)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB45D #855DB4
analogous
#B4B05D #8CB45D #60B45D
triadic
#8CB45D #5D8CB4 #B45D8C
tetradic
#8CB45D #5DB4B0 #855DB4 #B45D60
square
#8CB45D #5DB4B0 #855DB4 #B45D60
split-complementary
#8CB45D #5D60B4 #B05DB4
monochromatic
#4E6730 #6D9143 #8CB45D #AAC787 #C7DBB1

Accessibility & contrast

On white

2.39
#8CB45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#8CB45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB45D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB45D#FFFFFF#000000##000000
##8CB45D1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA56
Deuteranopia (green-blind)
#B5A762
Tritanopia (blue-blind)
#8FADA0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb45d;
/* rgb */ color: rgb(140, 180, 93);
/* oklch */ color: oklch(72.1% 0.124 129.4);
Tailwind
colors: {
  custom: {
    50: '#afca8d',
    500: '#8cb45d',
    950: '#000000',
  },
}
SCSS
$custom: #8cb45d;
$custom-light: #afca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb45d",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 93
  },
  "hsl": {
    "h": 87.586,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.72087,
    "c": 0.12377,
    "h": 129.4
  },
  "luminance": 0.39008
}

Semantic roles & 50–950 ramp

primary
#8CB45D
secondary
#B5A4C9
accent
#5BCD8F
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB45D

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

Preview Lab → · Contrast checker → · Palette generator →

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