#8CA340#8CA340

#8CA340 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.7% C 0.128 H 121.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8CA340
RGBrgb(140, 163, 64)
HSLhsl(74, 44%, 45%)
HSVhsv(74, 61%, 64%)
CMYKcmyk(14.1%, 0%, 60.7%, 36.1%)
CIE-LABlab(63.46, -22.83, 47.54)
CIE-LCHlch(63.46, 52.73, 115.65°)
OKLaboklab(67.71% -0.0658 0.1097)
OKLCHoklch(67.71% 0.128 121)
XYZxyz(24.8381, 32.1400, 9.7446)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA340 #5740A3
analogous
#A38840 #8CA340 #5BA340
triadic
#8CA340 #408CA3 #A3408C
tetradic
#8CA340 #40A388 #5740A3 #A3405B
square
#8CA340 #40A388 #5740A3 #A3405B
split-complementary
#8CA340 #405BA3 #8840A3
monochromatic
#414B1D #66772F #8CA340 #AAC060 #C1D28C

Accessibility & contrast

On white

2.83
#8CA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8CA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA340
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA340#FFFFFF#000000##000000
##8CA3401.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#AA9A47
Tritanopia (blue-blind)
#939B8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ca340;
/* rgb */ color: rgb(140, 163, 64);
/* oklch */ color: oklch(67.7% 0.128 121.0);
Tailwind
colors: {
  custom: {
    50: '#b0be79',
    500: '#8ca340',
    950: '#000000',
  },
}
SCSS
$custom: #8ca340;
$custom-light: #b0be79;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca340",
  "rgb": {
    "r": 140,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 73.939,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67713,
    "c": 0.12792,
    "h": 121
  },
  "luminance": 0.3214
}

Semantic roles & 50–950 ramp

primary
#8CA340
secondary
#9082BD
accent
#54D372
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA340

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

Preview Lab → · Contrast checker → · Palette generator →

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