#8CB845#8CB845

#8CB845 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.7% C 0.151 H 127.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8CB845
RGBrgb(140, 184, 69)
HSLhsl(83, 45%, 50%)
HSVhsv(83, 63%, 72%)
CMYKcmyk(23.9%, 0%, 62.5%, 27.8%)
CIE-LABlab(69.67, -32.56, 52.15)
CIE-LCHlch(69.67, 61.48, 121.97°)
OKLaboklab(72.74% -0.0923 0.1201)
OKLCHoklch(72.74% 0.152 127.5)
XYZxyz(29.0298, 40.2856, 11.8755)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB845 #7145B8
analogous
#B8AB45 #8CB845 #52B845
triadic
#8CB845 #458CB8 #B8458C
tetradic
#8CB845 #45B8AB #7145B8 #B84552
square
#8CB845 #45B8AB #7145B8 #B84552
split-complementary
#8CB845 #4552B8 #AB45B8
monochromatic
#485F24 #6A8B34 #8CB845 #A8CA71 #C3DA9D

Accessibility & contrast

On white

2.32
#8CB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#8CB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB845
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB845#FFFFFF#000000##000000
##8CB8451.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC37
Deuteranopia (green-blind)
#BBA94D
Tritanopia (blue-blind)
#91B0A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #8cb845;
/* rgb */ color: rgb(140, 184, 69);
/* oklch */ color: oklch(72.7% 0.151 127.5);
Tailwind
colors: {
  custom: {
    50: '#b1cd7e',
    500: '#8cb845',
    950: '#000000',
  },
}
SCSS
$custom: #8cb845;
$custom-light: #b1cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb845",
  "rgb": {
    "r": 140,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 82.957,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72744,
    "c": 0.1515,
    "h": 127.5
  },
  "luminance": 0.40286
}

Semantic roles & 50–950 ramp

primary
#8CB845
secondary
#A692C7
accent
#53D585
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB845

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

Preview Lab → · Contrast checker → · Palette generator →

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