#8CB45E#8CB45E

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

Color values

HEX#8CB45E
RGBrgb(140, 180, 94)
HSLhsl(88, 36%, 54%)
HSVhsv(88, 48%, 71%)
CMYKcmyk(22.2%, 0%, 47.8%, 29.4%)
CIE-LABlab(68.77, -28.18, 39.35)
CIE-LCHlch(68.77, 48.39, 125.61°)
OKLaboklab(72.1% -0.0781 0.0947)
OKLCHoklch(72.1% 0.123 129.5)
XYZxyz(29.1565, 39.0256, 16.5841)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB45E #865EB4
analogous
#B4B15E #8CB45E #61B45E
triadic
#8CB45E #5E8CB4 #B45E8C
tetradic
#8CB45E #5EB4B1 #865EB4 #B45E61
square
#8CB45E #5EB4B1 #865EB4 #B45E61
split-complementary
#8CB45E #5E61B4 #B15EB4
monochromatic
#4E6730 #6D9144 #8CB45E #AAC788 #C8DBB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB45E#FFFFFF#000000##000000
##8CB45E1.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)
#BBAA57
Deuteranopia (green-blind)
#B5A763
Tritanopia (blue-blind)
#8FAEA0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb45e;
/* rgb */ color: rgb(140, 180, 94);
/* oklch */ color: oklch(72.1% 0.123 129.5);
Tailwind
colors: {
  custom: {
    50: '#afca8d',
    500: '#8cb45e',
    950: '#000000',
  },
}
SCSS
$custom: #8cb45e;
$custom-light: #afca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb45e",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 94
  },
  "hsl": {
    "h": 87.907,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72102,
    "c": 0.12274,
    "h": 129.5
  },
  "luminance": 0.39026
}

Semantic roles & 50–950 ramp

primary
#8CB45E
secondary
#B6A5C9
accent
#5BCC90
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB45E

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

Preview Lab → · Contrast checker → · Palette generator →

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