#AECA21#AECA21

#AECA21 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.1% C 0.179 H 119.5°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#AECA21
RGBrgb(174, 202, 33)
HSLhsl(70, 72%, 46%)
HSVhsv(70, 84%, 79%)
CMYKcmyk(13.9%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.89, -29.32, 72.07)
CIE-LCHlch(76.89, 77.80, 112.14°)
OKLaboklab(79.08% -0.0882 0.1558)
OKLCHoklch(79.08% 0.179 119.5)
XYZxyz(38.8515, 51.3498, 9.3033)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AECA21 #3D21CA
analogous
#CA9121 #AECA21 #59CA21
triadic
#AECA21 #21AECA #CA21AE
tetradic
#AECA21 #21CA91 #3D21CA #CA2159
square
#AECA21 #21CA91 #3D21CA #CA2159
split-complementary
#AECA21 #2159CA #9121CA
monochromatic
#536110 #819518 #AECA21 #C8E147 #D7EA7C

Accessibility & contrast

On white

1.86
#AECA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#AECA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AECA21
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AECA21#FFFFFF#000000##000000
##AECA211.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D4BE35
Tritanopia (blue-blind)
#B9BFAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #aeca21;
/* rgb */ color: rgb(174, 202, 33);
/* oklch */ color: oklch(79.1% 0.179 119.5);
Tailwind
colors: {
  custom: {
    50: '#cada6f',
    500: '#aeca21',
    950: '#000000',
  },
}
SCSS
$custom: #aeca21;
$custom-light: #cada6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeca21",
  "rgb": {
    "r": 174,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 69.941,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79081,
    "c": 0.179,
    "h": 119.5
  },
  "luminance": 0.5135
}

Semantic roles & 50–950 ramp

primary
#AECA21
secondary
#2F246C
accent
#39EF57
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #AECA21

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

Preview Lab → · Contrast checker → · Palette generator →

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