#AEC940#AEC940

#AEC940 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.162 H 119.9°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#AEC940
RGBrgb(174, 201, 64)
HSLhsl(72, 56%, 52%)
HSVhsv(72, 68%, 79%)
CMYKcmyk(13.4%, 0%, 68.2%, 21.2%)
CIE-LABlab(76.77, -27.45, 62.34)
CIE-LCHlch(76.77, 68.12, 113.77°)
OKLaboklab(79.03% -0.0807 0.1402)
OKLCHoklch(79.03% 0.162 119.9)
XYZxyz(39.2683, 51.1423, 12.6522)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC940 #5B40C9
analogous
#C9A040 #AEC940 #6AC940
triadic
#AEC940 #40AEC9 #C940AE
tetradic
#AEC940 #40C9A0 #5B40C9 #C9406A
square
#AEC940 #40C9A0 #5B40C9 #C9406A
split-complementary
#AEC940 #406AC9 #A040C9
monochromatic
#5F6F1F #889F2D #AEC940 #C2D670 #D6E49F

Accessibility & contrast

On white

1.87
#AEC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#AEC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC940
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC940#FFFFFF#000000##000000
##AEC9401.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2B
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#B8BFAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aec940;
/* rgb */ color: rgb(174, 201, 64);
/* oklch */ color: oklch(79.0% 0.162 119.9);
Tailwind
colors: {
  custom: {
    50: '#c9d97d',
    500: '#aec940',
    950: '#000000',
  },
}
SCSS
$custom: #aec940;
$custom-light: #c9d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#aec940",
  "rgb": {
    "r": 174,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 71.825,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7903,
    "c": 0.16179,
    "h": 119.9
  },
  "luminance": 0.51142
}

Semantic roles & 50–950 ramp

primary
#AEC940
secondary
#423578
accent
#49DF66
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AEC940

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

Preview Lab → · Contrast checker → · Palette generator →

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