#8CB45B#8CB45B

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

Color values

HEX#8CB45B
RGBrgb(140, 180, 91)
HSLhsl(87, 37%, 53%)
HSVhsv(87, 49%, 71%)
CMYKcmyk(22.2%, 0%, 49.4%, 29.4%)
CIE-LABlab(68.73, -28.52, 40.79)
CIE-LCHlch(68.73, 49.78, 124.96°)
OKLaboklab(72.06% -0.0793 0.0977)
OKLCHoklch(72.06% 0.126 129.1)
XYZxyz(29.0245, 38.9728, 15.8888)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB45B #835BB4
analogous
#B4AF5B #8CB45B #60B45B
triadic
#8CB45B #5B8CB4 #B45B8C
tetradic
#8CB45B #5BB4AF #835BB4 #B45B60
square
#8CB45B #5BB4AF #835BB4 #B45B60
split-complementary
#8CB45B #5B60B4 #AF5BB4
monochromatic
#4D662F #6D9042 #8CB45B #A9C785 #C7DAAF

Accessibility & contrast

On white

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

On black

8.79
#8CB45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB45B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB45B#FFFFFF#000000##000000
##8CB45B1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA953
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#8FAD9F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8cb45b;
/* rgb */ color: rgb(140, 180, 91);
/* oklch */ color: oklch(72.1% 0.126 129.1);
Tailwind
colors: {
  custom: {
    50: '#afca8b',
    500: '#8cb45b',
    950: '#000000',
  },
}
SCSS
$custom: #8cb45b;
$custom-light: #afca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb45b",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 91
  },
  "hsl": {
    "h": 86.966,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.72058,
    "c": 0.12581,
    "h": 129.1
  },
  "luminance": 0.38973
}

Semantic roles & 50–950 ramp

primary
#8CB45B
secondary
#B3A2C9
accent
#5BCD8E
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #8CB45B

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

Preview Lab → · Contrast checker → · Palette generator →

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