#8CA040#8CA040

#8CA040 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 67.0% C 0.124 H 119.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8CA040
RGBrgb(140, 160, 64)
HSLhsl(73, 43%, 44%)
HSVhsv(73, 60%, 63%)
CMYKcmyk(12.5%, 0%, 60%, 37.3%)
CIE-LABlab(62.58, -21.32, 46.56)
CIE-LCHlch(62.58, 51.21, 114.60°)
OKLaboklab(67.01% -0.0616 0.1076)
OKLCHoklch(67.01% 0.124 119.8)
XYZxyz(24.3118, 31.0873, 9.5692)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA040 #5440A0
analogous
#A08440 #8CA040 #5CA040
triadic
#8CA040 #408CA0 #A0408C
tetradic
#8CA040 #40A084 #5440A0 #A0405C
square
#8CA040 #40A084 #5440A0 #A0405C
split-complementary
#8CA040 #405CA0 #8440A0
monochromatic
#40491D #66742F #8CA040 #ABBF5E #C2D08A

Accessibility & contrast

On white

2.91
#8CA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8CA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA040
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA040#FFFFFF#000000##000000
##8CA0401.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9735
Deuteranopia (green-blind)
#A79846
Tritanopia (blue-blind)
#93988B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca040;
/* rgb */ color: rgb(140, 160, 64);
/* oklch */ color: oklch(67.0% 0.124 119.8);
Tailwind
colors: {
  custom: {
    50: '#b0bc79',
    500: '#8ca040',
    950: '#000000',
  },
}
SCSS
$custom: #8ca040;
$custom-light: #b0bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca040",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 72.5,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67008,
    "c": 0.12401,
    "h": 119.8
  },
  "luminance": 0.31087
}

Semantic roles & 50–950 ramp

primary
#8CA040
secondary
#8D81BB
accent
#55D36F
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA040

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

Preview Lab → · Contrast checker → · Palette generator →

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