#AEC540#AEC540

#AEC540 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.1% C 0.157 H 118.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AEC540
RGBrgb(174, 197, 64)
HSLhsl(70, 53%, 51%)
HSVhsv(70, 68%, 77%)
CMYKcmyk(11.7%, 0%, 67.5%, 22.7%)
CIE-LABlab(75.64, -25.53, 61.20)
CIE-LCHlch(75.64, 66.31, 112.65°)
OKLaboklab(78.12% -0.0754 0.1378)
OKLCHoklch(78.12% 0.157 118.7)
XYZxyz(38.3480, 49.3016, 12.3455)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC540 #5740C5
analogous
#C59940 #AEC540 #6BC540
triadic
#AEC540 #40AEC5 #C540AE
tetradic
#AEC540 #40C599 #5740C5 #C5406B
square
#AEC540 #40C599 #5740C5 #C5406B
split-complementary
#AEC540 #406BC5 #9940C5
monochromatic
#5E6A20 #87992F #AEC540 #C2D36F #D6E29E

Accessibility & contrast

On white

1.93
#AEC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#AEC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC540
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC540#FFFFFF#000000##000000
##AEC5401.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#B8BBAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #aec540;
/* rgb */ color: rgb(174, 197, 64);
/* oklch */ color: oklch(78.1% 0.157 118.7);
Tailwind
colors: {
  custom: {
    50: '#c9d67c',
    500: '#aec540',
    950: '#000000',
  },
}
SCSS
$custom: #aec540;
$custom-light: #c9d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#aec540",
  "rgb": {
    "r": 174,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 70.376,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78123,
    "c": 0.15708,
    "h": 118.7
  },
  "luminance": 0.49301
}

Semantic roles & 50–950 ramp

primary
#AEC540
secondary
#9D93CE
accent
#4BDD64
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AEC540

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

Preview Lab → · Contrast checker → · Palette generator →

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