#9ACC40#9ACC40

#9ACC40 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.3% C 0.174 H 127.1°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#9ACC40
RGBrgb(154, 204, 64)
HSLhsl(81, 58%, 53%)
HSVhsv(81, 69%, 80%)
CMYKcmyk(24.5%, 0%, 68.6%, 20%)
CIE-LABlab(76.33, -36.73, 61.49)
CIE-LCHlch(76.33, 71.62, 120.85°)
OKLaboklab(78.35% -0.1051 0.1389)
OKLCHoklch(78.35% 0.174 127.1)
XYZxyz(35.8448, 50.4253, 12.6941)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ACC40 #7240CC
analogous
#CCB840 #9ACC40 #54CC40
triadic
#9ACC40 #409ACC #CC409A
tetradic
#9ACC40 #40CCB8 #7240CC #CC4054
square
#9ACC40 #40CCB8 #7240CC #CC4054
split-complementary
#9ACC40 #4054CC #B840CC
monochromatic
#55731F #78A32C #9ACC40 #B4D970 #CDE6A1

Accessibility & contrast

On white

1.89
#9ACC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#9ACC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ACC40
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ACC40#FFFFFF#000000##000000
##9ACC401.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#A0C3B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9acc40;
/* rgb */ color: rgb(154, 204, 64);
/* oklch */ color: oklch(78.3% 0.174 127.1);
Tailwind
colors: {
  custom: {
    50: '#bbdb7d',
    500: '#9acc40',
    950: '#000000',
  },
}
SCSS
$custom: #9acc40;
$custom-light: #bbdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9acc40",
  "rgb": {
    "r": 154,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 81.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78346,
    "c": 0.17414,
    "h": 127.1
  },
  "luminance": 0.50426
}

Semantic roles & 50–950 ramp

primary
#9ACC40
secondary
#4E347C
accent
#47E17E
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9ACC40

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

Preview Lab → · Contrast checker → · Palette generator →

#9ACC40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva