#8CB945#8CB945

#8CB945 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.0% C 0.153 H 127.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8CB945
RGBrgb(140, 185, 69)
HSLhsl(83, 46%, 50%)
HSVhsv(83, 63%, 73%)
CMYKcmyk(24.3%, 0%, 62.7%, 27.5%)
CIE-LABlab(69.97, -33.02, 52.48)
CIE-LCHlch(69.97, 62.00, 122.18°)
OKLaboklab(72.98% -0.0936 0.1208)
OKLCHoklch(72.98% 0.153 127.8)
XYZxyz(29.2383, 40.7025, 11.9450)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB945 #7245B9
analogous
#B9AC45 #8CB945 #52B945
triadic
#8CB945 #458CB9 #B9458C
tetradic
#8CB945 #45B9AC #7245B9 #B94552
square
#8CB945 #45B9AC #7245B9 #B94552
split-complementary
#8CB945 #4552B9 #AC45B9
monochromatic
#496024 #6A8C34 #8CB945 #A8CA71 #C3DB9E

Accessibility & contrast

On white

2.30
#8CB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#8CB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB945
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB945#FFFFFF#000000##000000
##8CB9451.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#BCAA4E
Tritanopia (blue-blind)
#91B1A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8cb945;
/* rgb */ color: rgb(140, 185, 69);
/* oklch */ color: oklch(73.0% 0.153 127.8);
Tailwind
colors: {
  custom: {
    50: '#b1ce7e',
    500: '#8cb945',
    950: '#000000',
  },
}
SCSS
$custom: #8cb945;
$custom-light: #b1ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb945",
  "rgb": {
    "r": 140,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 83.276,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72982,
    "c": 0.15282,
    "h": 127.8
  },
  "luminance": 0.40703
}

Semantic roles & 50–950 ramp

primary
#8CB945
secondary
#A793C7
accent
#52D585
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB945

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

Preview Lab → · Contrast checker → · Palette generator →

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