#8ABA40#8ABA40

#8ABA40 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.0% C 0.159 H 128.2°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8ABA40
RGBrgb(138, 186, 64)
HSLhsl(84, 49%, 49%)
HSVhsv(84, 66%, 73%)
CMYKcmyk(25.8%, 0%, 65.6%, 27.1%)
CIE-LABlab(70.10, -34.64, 54.69)
CIE-LCHlch(70.10, 64.74, 122.35°)
OKLaboklab(73.04% -0.0984 0.1249)
OKLCHoklch(73.04% 0.159 128.2)
XYZxyz(28.9655, 40.8906, 11.2161)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ABA40 #7040BA
analogous
#BAAD40 #8ABA40 #4DBA40
triadic
#8ABA40 #408ABA #BA408A
tetradic
#8ABA40 #40BAAD #7040BA #BA404D
square
#8ABA40 #40BAAD #7040BA #BA404D
split-complementary
#8ABA40 #404DBA #AD40BA
monochromatic
#465F21 #688C30 #8ABA40 #A6CC6B #C1DC99

Accessibility & contrast

On white

2.29
#8ABA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#8ABA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ABA40
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ABA40#FFFFFF#000000##000000
##8ABA401.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD30
Deuteranopia (green-blind)
#BCAA4A
Tritanopia (blue-blind)
#8EB2A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8aba40;
/* rgb */ color: rgb(138, 186, 64);
/* oklch */ color: oklch(73.0% 0.159 128.2);
Tailwind
colors: {
  custom: {
    50: '#afcf7b',
    500: '#8aba40',
    950: '#000000',
  },
}
SCSS
$custom: #8aba40;
$custom-light: #afcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8aba40",
  "rgb": {
    "r": 138,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 83.607,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73044,
    "c": 0.15899,
    "h": 128.2
  },
  "luminance": 0.40891
}

Semantic roles & 50–950 ramp

primary
#8ABA40
secondary
#A58EC8
accent
#4FD885
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8ABA40

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

Preview Lab → · Contrast checker → · Palette generator →

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