#8AC042#8AC042

#8AC042 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.5% C 0.165 H 129.6°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#8AC042
RGBrgb(138, 192, 66)
HSLhsl(86, 50%, 51%)
HSVhsv(86, 66%, 75%)
CMYKcmyk(28.1%, 0%, 65.6%, 24.7%)
CIE-LABlab(71.89, -37.22, 55.77)
CIE-LCHlch(71.89, 67.05, 123.72°)
OKLaboklab(74.5% -0.1053 0.1274)
OKLCHoklch(74.5% 0.165 129.6)
XYZxyz(30.3141, 43.4951, 11.9514)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AC042 #7842C0
analogous
#C0B742 #8AC042 #4BC042
triadic
#8AC042 #428AC0 #C0428A
tetradic
#8AC042 #42C0B7 #7842C0 #C0424B
square
#8AC042 #42C0B7 #7842C0 #C0424B
split-complementary
#8AC042 #424BC0 #B742C0
monochromatic
#496622 #699431 #8AC042 #A6CF70 #C3DF9E

Accessibility & contrast

On white

2.17
#8AC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#8AC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AC042
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AC042#FFFFFF#000000##000000
##8AC0421.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#C1AF4C
Tritanopia (blue-blind)
#8EB8A6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #8ac042;
/* rgb */ color: rgb(138, 192, 66);
/* oklch */ color: oklch(74.5% 0.165 129.6);
Tailwind
colors: {
  custom: {
    50: '#b0d37c',
    500: '#8ac042',
    950: '#000000',
  },
}
SCSS
$custom: #8ac042;
$custom-light: #b0d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ac042",
  "rgb": {
    "r": 138,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 85.714,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.1653,
    "h": 129.6
  },
  "luminance": 0.43496
}

Semantic roles & 50–950 ramp

primary
#8AC042
secondary
#AB93CB
accent
#4EDA8A
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8AC042

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

Preview Lab → · Contrast checker → · Palette generator →

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