#8ABC40#8ABC40

#8ABC40 is a light, vivid yellow-green. Relative luminance 0.417; OKLCH L 73.5% C 0.162 H 128.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#8ABC40
RGBrgb(138, 188, 64)
HSLhsl(84, 49%, 49%)
HSVhsv(84, 66%, 74%)
CMYKcmyk(26.6%, 0%, 66%, 26.3%)
CIE-LABlab(70.69, -35.56, 55.32)
CIE-LCHlch(70.69, 65.76, 122.73°)
OKLaboklab(73.52% -0.1009 0.1262)
OKLCHoklch(73.52% 0.162 128.6)
XYZxyz(29.3898, 41.7392, 11.3575)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ABC40 #7240BC
analogous
#BCB040 #8ABC40 #4CBC40
triadic
#8ABC40 #408ABC #BC408A
tetradic
#8ABC40 #40BCB0 #7240BC #BC404C
square
#8ABC40 #40BCB0 #7240BC #BC404C
split-complementary
#8ABC40 #404CBC #B040BC
monochromatic
#476121 #688E30 #8ABC40 #A6CD6C #C2DD9A

Accessibility & contrast

On white

2.25
#8ABC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#8ABC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ABC40
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ABC40#FFFFFF#000000##000000
##8ABC401.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#8EB4A3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8abc40;
/* rgb */ color: rgb(138, 188, 64);
/* oklch */ color: oklch(73.5% 0.162 128.6);
Tailwind
colors: {
  custom: {
    50: '#b0d07b',
    500: '#8abc40',
    950: '#000000',
  },
}
SCSS
$custom: #8abc40;
$custom-light: #b0d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#8abc40",
  "rgb": {
    "r": 138,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 84.194,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.16158,
    "h": 128.6
  },
  "luminance": 0.4174
}

Semantic roles & 50–950 ramp

primary
#8ABC40
secondary
#A68FC9
accent
#4FD987
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11140A
muted
#80827C

Preview Lab

Preview with #8ABC40

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

Preview Lab → · Contrast checker → · Palette generator →

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