#8AC240#8AC240

#8AC240 is a light, vivid yellow-green. Relative luminance 0.444; OKLCH L 75.0% C 0.169 H 129.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#8AC240
RGBrgb(138, 194, 64)
HSLhsl(86, 52%, 51%)
HSVhsv(86, 67%, 76%)
CMYKcmyk(28.9%, 0%, 67%, 23.9%)
CIE-LABlab(72.47, -38.27, 57.19)
CIE-LCHlch(72.47, 68.81, 123.79°)
OKLaboklab(74.97% -0.1083 0.1301)
OKLCHoklch(74.97% 0.169 129.8)
XYZxyz(30.6983, 44.3562, 11.7937)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AC240 #7840C2
analogous
#C2B940 #8AC240 #49C240
triadic
#8AC240 #408AC2 #C2408A
tetradic
#8AC240 #40C2B9 #7840C2 #C24049
square
#8AC240 #40C2B9 #7840C2 #C24049
split-complementary
#8AC240 #4049C2 #B940C2
monochromatic
#496721 #699530 #8AC240 #A6D16E #C3E09D

Accessibility & contrast

On white

2.13
#8AC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#8AC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AC240
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AC240#FFFFFF#000000##000000
##8AC2401.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#C3B04B
Tritanopia (blue-blind)
#8EBAA8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #8ac240;
/* rgb */ color: rgb(138, 194, 64);
/* oklch */ color: oklch(75.0% 0.169 129.8);
Tailwind
colors: {
  custom: {
    50: '#b0d47b',
    500: '#8ac240',
    950: '#000000',
  },
}
SCSS
$custom: #8ac240;
$custom-light: #b0d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ac240",
  "rgb": {
    "r": 138,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 85.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74965,
    "c": 0.16932,
    "h": 129.8
  },
  "luminance": 0.44357
}

Semantic roles & 50–950 ramp

primary
#8AC240
secondary
#AB92CC
accent
#4DDB8A
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8AC240

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

Preview Lab → · Contrast checker → · Palette generator →

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