#8CA845#8CA845

#8CA845 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.9% C 0.130 H 123.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8CA845
RGBrgb(140, 168, 69)
HSLhsl(77, 42%, 46%)
HSVhsv(77, 59%, 66%)
CMYKcmyk(16.7%, 0%, 58.9%, 34.1%)
CIE-LABlab(64.97, -24.89, 46.94)
CIE-LCHlch(64.97, 53.13, 117.93°)
OKLaboklab(68.95% -0.071 0.109)
OKLCHoklch(68.95% 0.13 123.1)
XYZxyz(25.8922, 34.0103, 10.8296)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA845 #6145A8
analogous
#A89345 #8CA845 #5BA845
triadic
#8CA845 #458CA8 #A8458C
tetradic
#8CA845 #45A893 #6145A8 #A8455B
square
#8CA845 #45A893 #6145A8 #A8455B
split-complementary
#8CA845 #455BA8 #9345A8
monochromatic
#445121 #687D33 #8CA845 #A8C169 #C1D394

Accessibility & contrast

On white

2.69
#8CA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8CA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA845
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA845#FFFFFF#000000##000000
##8CA8451.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3A
Deuteranopia (green-blind)
#AD9E4C
Tritanopia (blue-blind)
#92A093
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8ca845;
/* rgb */ color: rgb(140, 168, 69);
/* oklch */ color: oklch(68.9% 0.130 123.1);
Tailwind
colors: {
  custom: {
    50: '#b0c27c',
    500: '#8ca845',
    950: '#000000',
  },
}
SCSS
$custom: #8ca845;
$custom-light: #b0c27c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca845",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 76.97,
    "s": 41.772,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68946,
    "c": 0.13014,
    "h": 123.1
  },
  "luminance": 0.3401
}

Semantic roles & 50–950 ramp

primary
#8CA845
secondary
#998ABF
accent
#56D279
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#11120A
muted
#80817C

Preview Lab

Preview with #8CA845

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

Preview Lab → · Contrast checker → · Palette generator →

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