#AEC72A#AEC72A

#AEC72A is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.4% C 0.172 H 118.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#AEC72A
RGBrgb(174, 199, 42)
HSLhsl(70, 65%, 47%)
HSVhsv(70, 79%, 78%)
CMYKcmyk(12.6%, 0%, 78.9%, 22%)
CIE-LABlab(76.08, -27.58, 69.05)
CIE-LCHlch(76.08, 74.35, 111.78°)
OKLaboklab(78.44% -0.0829 0.1508)
OKLCHoklch(78.44% 0.172 118.8)
XYZxyz(38.2978, 50.0130, 9.8260)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC72A #432AC7
analogous
#C7912A #AEC72A #60C72A
triadic
#AEC72A #2AAEC7 #C72AAE
tetradic
#AEC72A #2AC791 #432AC7 #C72A60
square
#AEC72A #2AC791 #432AC7 #C72A60
split-complementary
#AEC72A #2A60C7 #912AC7
monochromatic
#566215 #82941F #AEC72A #C5DB53 #D6E586

Accessibility & contrast

On white

1.91
#AEC72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#AEC72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC72A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC72A#FFFFFF#000000##000000
##AEC72A1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D2BC3A
Tritanopia (blue-blind)
#B9BCAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aec72a;
/* rgb */ color: rgb(174, 199, 42);
/* oklch */ color: oklch(78.4% 0.172 118.8);
Tailwind
colors: {
  custom: {
    50: '#cad872',
    500: '#aec72a',
    950: '#000000',
  },
}
SCSS
$custom: #aec72a;
$custom-light: #cad872;
$custom-dark: #000000;
JSON
{
  "hex": "#aec72a",
  "rgb": {
    "r": 174,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 69.554,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78436,
    "c": 0.17204,
    "h": 118.8
  },
  "luminance": 0.50013
}

Semantic roles & 50–950 ramp

primary
#AEC72A
secondary
#33296D
accent
#40E85B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AEC72A

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

Preview Lab → · Contrast checker → · Palette generator →

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