#8CB345#8CB345

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

Color values

HEX#8CB345
RGBrgb(140, 179, 69)
HSLhsl(81, 44%, 49%)
HSVhsv(81, 61%, 70%)
CMYKcmyk(21.8%, 0%, 61.5%, 29.8%)
CIE-LABlab(68.20, -30.20, 50.54)
CIE-LCHlch(68.20, 58.88, 120.86°)
OKLaboklab(71.55% -0.0858 0.1167)
OKLCHoklch(71.55% 0.145 126.3)
XYZxyz(28.0095, 38.2449, 11.5354)
Luminance0.3825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB345 #6C45B3
analogous
#B3A345 #8CB345 #55B345
triadic
#8CB345 #458CB3 #B3458C
tetradic
#8CB345 #45B3A3 #6C45B3 #B34555
square
#8CB345 #45B3A3 #6C45B3 #B34555
split-complementary
#8CB345 #4555B3 #A345B3
monochromatic
#475B23 #698734 #8CB345 #A8C76E #C2D89A

Accessibility & contrast

On white

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

On black

8.65
#8CB345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB345
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB345#FFFFFF#000000##000000
##8CB3451.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA838
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#91AB9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb345;
/* rgb */ color: rgb(140, 179, 69);
/* oklch */ color: oklch(71.6% 0.145 126.3);
Tailwind
colors: {
  custom: {
    50: '#b0ca7d',
    500: '#8cb345',
    950: '#000000',
  },
}
SCSS
$custom: #8cb345;
$custom-light: #b0ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb345",
  "rgb": {
    "r": 140,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 81.273,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.14485,
    "h": 126.3
  },
  "luminance": 0.38245
}

Semantic roles & 50–950 ramp

primary
#8CB345
secondary
#A28FC4
accent
#54D481
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB345

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

Preview Lab → · Contrast checker → · Palette generator →

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