#AEC72F#AEC72F

#AEC72F is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.5% C 0.170 H 118.9°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#AEC72F
RGBrgb(174, 199, 47)
HSLhsl(70, 62%, 48%)
HSVhsv(70, 76%, 78%)
CMYKcmyk(12.6%, 0%, 76.4%, 22%)
CIE-LABlab(76.10, -27.38, 67.59)
CIE-LCHlch(76.10, 72.92, 112.05°)
OKLaboklab(78.46% -0.0819 0.1485)
OKLCHoklch(78.46% 0.17 118.9)
XYZxyz(38.3929, 50.0510, 10.3270)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC72F #482FC7
analogous
#C7942F #AEC72F #62C72F
triadic
#AEC72F #2FAEC7 #C72FAE
tetradic
#AEC72F #2FC794 #482FC7 #C72F62
square
#AEC72F #2FC794 #482FC7 #C72F62
split-complementary
#AEC72F #2F62C7 #942FC7
monochromatic
#576418 #839523 #AEC72F #C4D85B #D6E48C

Accessibility & contrast

On white

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

On black

11.01
#AEC72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC72F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC72F#FFFFFF#000000##000000
##AEC72F1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC03
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#B9BCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aec72f;
/* rgb */ color: rgb(174, 199, 47);
/* oklch */ color: oklch(78.5% 0.170 118.9);
Tailwind
colors: {
  custom: {
    50: '#cad874',
    500: '#aec72f',
    950: '#000000',
  },
}
SCSS
$custom: #aec72f;
$custom-light: #cad874;
$custom-dark: #000000;
JSON
{
  "hex": "#aec72f",
  "rgb": {
    "r": 174,
    "g": 199,
    "b": 47
  },
  "hsl": {
    "h": 69.868,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.16961,
    "h": 118.9
  },
  "luminance": 0.50051
}

Semantic roles & 50–950 ramp

primary
#AEC72F
secondary
#372C6E
accent
#43E55E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AEC72F

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

Preview Lab → · Contrast checker → · Palette generator →

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