#8CA142#8CA142

#8CA142 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.3% C 0.124 H 120.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8CA142
RGBrgb(140, 161, 66)
HSLhsl(73, 42%, 45%)
HSVhsv(73, 59%, 63%)
CMYKcmyk(13%, 0%, 59%, 36.9%)
CIE-LABlab(62.89, -21.66, 45.99)
CIE-LCHlch(62.89, 50.84, 115.22°)
OKLaboklab(67.26% -0.0623 0.1067)
OKLCHoklch(67.26% 0.124 120.3)
XYZxyz(24.5437, 31.4586, 9.9323)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA142 #5742A1
analogous
#A18742 #8CA142 #5DA142
triadic
#8CA142 #428CA1 #A1428C
tetradic
#8CA142 #42A187 #5742A1 #A1425D
square
#8CA142 #42A187 #5742A1 #A1425D
split-complementary
#8CA142 #425DA1 #8742A1
monochromatic
#414A1E #667630 #8CA142 #AABF62 #C1D08D

Accessibility & contrast

On white

2.88
#8CA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8CA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA142
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA142#FFFFFF#000000##000000
##8CA1421.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9838
Deuteranopia (green-blind)
#A89848
Tritanopia (blue-blind)
#93998C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca142;
/* rgb */ color: rgb(140, 161, 66);
/* oklch */ color: oklch(67.3% 0.124 120.3);
Tailwind
colors: {
  custom: {
    50: '#b0bc7a',
    500: '#8ca142',
    950: '#000000',
  },
}
SCSS
$custom: #8ca142;
$custom-light: #b0bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca142",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 73.263,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.12352,
    "h": 120.3
  },
  "luminance": 0.31459
}

Semantic roles & 50–950 ramp

primary
#8CA142
secondary
#9083BB
accent
#56D271
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA142

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

Preview Lab → · Contrast checker → · Palette generator →

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