#8ACC42#8ACC42

#8ACC42 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.4% C 0.181 H 131.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#8ACC42
RGBrgb(138, 204, 66)
HSLhsl(89, 58%, 53%)
HSVhsv(89, 68%, 80%)
CMYKcmyk(32.4%, 0%, 67.6%, 20%)
CIE-LABlab(75.44, -42.51, 59.51)
CIE-LCHlch(75.44, 73.14, 125.54°)
OKLaboklab(77.39% -0.1198 0.1353)
OKLCHoklch(77.39% 0.181 131.5)
XYZxyz(33.0571, 48.9812, 12.8658)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ACC42 #8442CC
analogous
#CCC942 #8ACC42 #45CC42
triadic
#8ACC42 #428ACC #CC428A
tetradic
#8ACC42 #42CCC9 #8442CC #CC4245
square
#8ACC42 #42CCC9 #8442CC #CC4245
split-complementary
#8ACC42 #4245CC #C942CC
monochromatic
#4C741F #6BA42C #8ACC42 #A8D972 #C6E6A2

Accessibility & contrast

On white

1.95
#8ACC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#8ACC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ACC42
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ACC42#FFFFFF#000000##000000
##8ACC421.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#CCB84E
Tritanopia (blue-blind)
#8CC4B0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #8acc42;
/* rgb */ color: rgb(138, 204, 66);
/* oklch */ color: oklch(77.4% 0.181 131.5);
Tailwind
colors: {
  custom: {
    50: '#b1dc7e',
    500: '#8acc42',
    950: '#000000',
  },
}
SCSS
$custom: #8acc42;
$custom-light: #b1dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8acc42",
  "rgb": {
    "r": 138,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 88.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7739,
    "c": 0.18069,
    "h": 131.5
  },
  "luminance": 0.48982
}

Semantic roles & 50–950 ramp

primary
#8ACC42
secondary
#B497D3
accent
#47E191
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8ACC42

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

Preview Lab → · Contrast checker → · Palette generator →

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