#8AC540#8AC540

#8AC540 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.7% C 0.173 H 130.3°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#8AC540
RGBrgb(138, 197, 64)
HSLhsl(87, 53%, 51%)
HSVhsv(87, 68%, 77%)
CMYKcmyk(29.9%, 0%, 67.5%, 22.7%)
CIE-LABlab(73.35, -39.60, 58.12)
CIE-LCHlch(73.35, 70.33, 124.27°)
OKLaboklab(75.69% -0.112 0.1321)
OKLCHoklch(75.69% 0.173 130.3)
XYZxyz(31.3727, 45.7050, 12.0185)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AC540 #7B40C5
analogous
#C5BE40 #8AC540 #47C540
triadic
#8AC540 #408AC5 #C5408A
tetradic
#8AC540 #40C5BE #7B40C5 #C54047
square
#8AC540 #40C5BE #7B40C5 #C54047
split-complementary
#8AC540 #4047C5 #BE40C5
monochromatic
#496A20 #6A992F #8AC540 #A7D36F #C4E29E

Accessibility & contrast

On white

2.07
#8AC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#8AC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AC540
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AC540#FFFFFF#000000##000000
##8AC5401.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#8DBDAA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #8ac540;
/* rgb */ color: rgb(138, 197, 64);
/* oklch */ color: oklch(75.7% 0.173 130.3);
Tailwind
colors: {
  custom: {
    50: '#b0d77c',
    500: '#8ac540',
    950: '#000000',
  },
}
SCSS
$custom: #8ac540;
$custom-light: #b0d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ac540",
  "rgb": {
    "r": 138,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 86.617,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75687,
    "c": 0.17316,
    "h": 130.3
  },
  "luminance": 0.45706
}

Semantic roles & 50–950 ramp

primary
#8AC540
secondary
#AD93CE
accent
#4BDD8C
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8AC540

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

Preview Lab → · Contrast checker → · Palette generator →

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