#8CA640#8CA640

#8CA640 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.4% C 0.132 H 122.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8CA640
RGBrgb(140, 166, 64)
HSLhsl(75, 44%, 45%)
HSVhsv(75, 61%, 65%)
CMYKcmyk(15.7%, 0%, 61.4%, 34.9%)
CIE-LABlab(64.34, -24.32, 48.51)
CIE-LCHlch(64.34, 54.26, 116.63°)
OKLaboklab(68.42% -0.0699 0.1118)
OKLCHoklch(68.42% 0.132 122)
XYZxyz(25.3771, 33.2180, 9.9243)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA640 #5A40A6
analogous
#A68D40 #8CA640 #59A640
triadic
#8CA640 #408CA6 #A6408C
tetradic
#8CA640 #40A68D #5A40A6 #A64059
square
#8CA640 #40A68D #5A40A6 #A64059
split-complementary
#8CA640 #4059A6 #8D40A6
monochromatic
#414E1E #677A2F #8CA640 #A9C261 #C1D38D

Accessibility & contrast

On white

2.75
#8CA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8CA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA640
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA640#FFFFFF#000000##000000
##8CA6401.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D34
Deuteranopia (green-blind)
#AC9C47
Tritanopia (blue-blind)
#939E90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8ca640;
/* rgb */ color: rgb(140, 166, 64);
/* oklch */ color: oklch(68.4% 0.132 122.0);
Tailwind
colors: {
  custom: {
    50: '#b0c079',
    500: '#8ca640',
    950: '#000000',
  },
}
SCSS
$custom: #8ca640;
$custom-light: #b0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca640",
  "rgb": {
    "r": 140,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 75.294,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6842,
    "c": 0.13185,
    "h": 122
  },
  "luminance": 0.33218
}

Semantic roles & 50–950 ramp

primary
#8CA640
secondary
#9384BE
accent
#54D474
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA640

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

Preview Lab → · Contrast checker → · Palette generator →

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