#AAC540#AAC540

#AAC540 is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 77.8% C 0.159 H 120.2°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#AAC540
RGBrgb(170, 197, 64)
HSLhsl(72, 53%, 51%)
HSVhsv(72, 68%, 77%)
CMYKcmyk(13.7%, 0%, 67.5%, 22.7%)
CIE-LABlab(75.36, -27.16, 60.82)
CIE-LCHlch(75.36, 66.61, 114.06°)
OKLaboklab(77.83% -0.0796 0.1371)
OKLCHoklch(77.83% 0.159 120.2)
XYZxyz(37.4698, 48.8489, 12.3043)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC540 #5B40C5
analogous
#C59D40 #AAC540 #67C540
triadic
#AAC540 #40AAC5 #C540AA
tetradic
#AAC540 #40C59D #5B40C5 #C54067
square
#AAC540 #40C59D #5B40C5 #C54067
split-complementary
#AAC540 #4067C5 #9D40C5
monochromatic
#5B6A20 #84992F #AAC540 #BFD36F #D4E29E

Accessibility & contrast

On white

1.95
#AAC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#AAC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC540
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC540#FFFFFF#000000##000000
##AAC5401.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#B3BBAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #aac540;
/* rgb */ color: rgb(170, 197, 64);
/* oklch */ color: oklch(77.8% 0.159 120.2);
Tailwind
colors: {
  custom: {
    50: '#c6d67c',
    500: '#aac540',
    950: '#000000',
  },
}
SCSS
$custom: #aac540;
$custom-light: #c6d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#aac540",
  "rgb": {
    "r": 170,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 72.18,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77826,
    "c": 0.15857,
    "h": 120.2
  },
  "luminance": 0.48849
}

Semantic roles & 50–950 ramp

primary
#AAC540
secondary
#9F93CE
accent
#4BDD69
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #AAC540

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

Preview Lab → · Contrast checker → · Palette generator →

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