#8CA042#8CA042

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

Color values

HEX#8CA042
RGBrgb(140, 160, 66)
HSLhsl(73, 42%, 44%)
HSVhsv(73, 59%, 63%)
CMYKcmyk(12.5%, 0%, 58.8%, 37.3%)
CIE-LABlab(62.60, -21.15, 45.66)
CIE-LCHlch(62.60, 50.32, 114.86°)
OKLaboklab(67.03% -0.0609 0.106)
OKLCHoklch(67.03% 0.122 119.9)
XYZxyz(24.3697, 31.1105, 9.8743)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA042 #5642A0
analogous
#A08542 #8CA042 #5DA042
triadic
#8CA042 #428CA0 #A0428C
tetradic
#8CA042 #42A085 #5642A0 #A0425D
square
#8CA042 #42A085 #5642A0 #A0425D
split-complementary
#8CA042 #425DA0 #8542A0
monochromatic
#40491E #667530 #8CA042 #AABE61 #C2D08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA042#FFFFFF#000000##000000
##8CA0421.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)
#A99838
Deuteranopia (green-blind)
#A79848
Tritanopia (blue-blind)
#93988C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca042;
/* rgb */ color: rgb(140, 160, 66);
/* oklch */ color: oklch(67.0% 0.122 119.9);
Tailwind
colors: {
  custom: {
    50: '#b0bc7a',
    500: '#8ca042',
    950: '#000000',
  },
}
SCSS
$custom: #8ca042;
$custom-light: #b0bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca042",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 72.766,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6703,
    "c": 0.12221,
    "h": 119.9
  },
  "luminance": 0.3111
}

Semantic roles & 50–950 ramp

primary
#8CA042
secondary
#8F83BB
accent
#56D171
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA042

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

Preview Lab → · Contrast checker → · Palette generator →

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