#8AC340#8AC340

#8AC340 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.2% C 0.171 H 130.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#8AC340
RGBrgb(138, 195, 64)
HSLhsl(86, 52%, 51%)
HSVhsv(86, 67%, 76%)
CMYKcmyk(29.2%, 0%, 67.2%, 23.5%)
CIE-LABlab(72.76, -38.71, 57.50)
CIE-LCHlch(72.76, 69.32, 123.95°)
OKLaboklab(75.21% -0.1095 0.1308)
OKLCHoklch(75.21% 0.171 130)
XYZxyz(30.9216, 44.8028, 11.8681)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AC340 #7940C3
analogous
#C3BA40 #8AC340 #48C340
triadic
#8AC340 #408AC3 #C3408A
tetradic
#8AC340 #40C3BA #7940C3 #C34048
square
#8AC340 #40C3BA #7940C3 #C34048
split-complementary
#8AC340 #4048C3 #BA40C3
monochromatic
#496821 #6A972F #8AC340 #A7D26F #C3E09D

Accessibility & contrast

On white

2.11
#8AC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#8AC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AC340
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AC340#FFFFFF#000000##000000
##8AC3401.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52D
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#8DBBA8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #8ac340;
/* rgb */ color: rgb(138, 195, 64);
/* oklch */ color: oklch(75.2% 0.171 130.0);
Tailwind
colors: {
  custom: {
    50: '#b0d57c',
    500: '#8ac340',
    950: '#000000',
  },
}
SCSS
$custom: #8ac340;
$custom-light: #b0d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ac340",
  "rgb": {
    "r": 138,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 86.107,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75206,
    "c": 0.1706,
    "h": 130
  },
  "luminance": 0.44804
}

Semantic roles & 50–950 ramp

primary
#8AC340
secondary
#AC92CC
accent
#4CDC8B
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8AC340

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

Preview Lab → · Contrast checker → · Palette generator →

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