#8CA242#8CA242

#8CA242 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.5% C 0.125 H 120.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8CA242
RGBrgb(140, 162, 66)
HSLhsl(74, 42%, 45%)
HSVhsv(74, 59%, 64%)
CMYKcmyk(13.6%, 0%, 59.3%, 36.5%)
CIE-LABlab(63.19, -22.16, 46.32)
CIE-LCHlch(63.19, 51.35, 115.57°)
OKLaboklab(67.5% -0.0637 0.1074)
OKLCHoklch(67.5% 0.125 120.7)
XYZxyz(24.7192, 31.8095, 9.9908)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA242 #5842A2
analogous
#A28842 #8CA242 #5CA242
triadic
#8CA242 #428CA2 #A2428C
tetradic
#8CA242 #42A288 #5842A2 #A2425C
square
#8CA242 #42A288 #5842A2 #A2425C
split-complementary
#8CA242 #425CA2 #8842A2
monochromatic
#414B1F #667730 #8CA242 #AABF62 #C1D18E

Accessibility & contrast

On white

2.85
#8CA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8CA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA242
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA242#FFFFFF#000000##000000
##8CA2421.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9938
Deuteranopia (green-blind)
#A99948
Tritanopia (blue-blind)
#939A8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca242;
/* rgb */ color: rgb(140, 162, 66);
/* oklch */ color: oklch(67.5% 0.125 120.7);
Tailwind
colors: {
  custom: {
    50: '#b0bd7a',
    500: '#8ca242',
    950: '#000000',
  },
}
SCSS
$custom: #8ca242;
$custom-light: #b0bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca242",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 73.75,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.12484,
    "h": 120.7
  },
  "luminance": 0.31809
}

Semantic roles & 50–950 ramp

primary
#8CA242
secondary
#9184BC
accent
#56D272
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111209
muted
#80817B

Preview Lab

Preview with #8CA242

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

Preview Lab → · Contrast checker → · Palette generator →

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