#AACC40#AACC40

#AACC40 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.4% C 0.167 H 122.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#AACC40
RGBrgb(170, 204, 64)
HSLhsl(75, 58%, 53%)
HSVhsv(75, 69%, 80%)
CMYKcmyk(16.7%, 0%, 68.6%, 20%)
CIE-LABlab(77.34, -30.48, 62.84)
CIE-LCHlch(77.34, 69.84, 115.88°)
OKLaboklab(79.43% -0.0888 0.1414)
OKLCHoklch(79.43% 0.167 122.1)
XYZxyz(39.0963, 52.1019, 12.8465)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AACC40 #6240CC
analogous
#CCA840 #AACC40 #64CC40
triadic
#AACC40 #40AACC #CC40AA
tetradic
#AACC40 #40CCA8 #6240CC #CC4064
square
#AACC40 #40CCA8 #6240CC #CC4064
split-complementary
#AACC40 #4064CC #A840CC
monochromatic
#5E731F #86A32C #AACC40 #BFD970 #D5E6A1

Accessibility & contrast

On white

1.84
#AACC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#AACC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AACC40
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AACC40#FFFFFF#000000##000000
##AACC401.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#B3C2B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #aacc40;
/* rgb */ color: rgb(170, 204, 64);
/* oklch */ color: oklch(79.4% 0.167 122.1);
Tailwind
colors: {
  custom: {
    50: '#c7db7d',
    500: '#aacc40',
    950: '#000000',
  },
}
SCSS
$custom: #aacc40;
$custom-light: #c7db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#aacc40",
  "rgb": {
    "r": 170,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 74.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79425,
    "c": 0.16697,
    "h": 122.1
  },
  "luminance": 0.52102
}

Semantic roles & 50–950 ramp

primary
#AACC40
secondary
#46347C
accent
#47E16C
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #AACC40

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

Preview Lab → · Contrast checker → · Palette generator →

#AACC40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva