#AEC21F#AEC21F

#AEC21F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.171 H 117.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AEC21F
RGBrgb(174, 194, 31)
HSLhsl(67, 72%, 44%)
HSVhsv(67, 84%, 76%)
CMYKcmyk(10.3%, 0%, 84%, 23.9%)
CIE-LABlab(74.62, -25.55, 70.60)
CIE-LCHlch(74.62, 75.08, 109.90°)
OKLaboklab(77.25% -0.078 0.1523)
OKLCHoklch(77.25% 0.171 117.1)
XYZxyz(36.9957, 47.6816, 8.5506)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC21F #331FC2
analogous
#C2851F #AEC21F #5DC21F
triadic
#AEC21F #1FAEC2 #C21FAE
tetradic
#AEC21F #1FC285 #331FC2 #C21F5D
square
#AEC21F #1FC285 #331FC2 #C21F5D
split-complementary
#AEC21F #1F5DC2 #851FC2
monochromatic
#4F580E #7F8D17 #AEC21F #CCE03E #DAE973

Accessibility & contrast

On white

1.99
#AEC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#AEC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC21F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC21F#FFFFFF#000000##000000
##AEC21F1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CEB832
Tritanopia (blue-blind)
#B9B7A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aec21f;
/* rgb */ color: rgb(174, 194, 31);
/* oklch */ color: oklch(77.3% 0.171 117.1);
Tailwind
colors: {
  custom: {
    50: '#cad46d',
    500: '#aec21f',
    950: '#000000',
  },
}
SCSS
$custom: #aec21f;
$custom-light: #cad46d;
$custom-dark: #000000;
JSON
{
  "hex": "#aec21f",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 67.362,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.77253,
    "c": 0.17111,
    "h": 117.1
  },
  "luminance": 0.47681
}

Semantic roles & 50–950 ramp

primary
#AEC21F
secondary
#796DCF
accent
#39EF4F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AEC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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