#AEC040#AEC040

#AEC040 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.151 H 117.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AEC040
RGBrgb(174, 192, 64)
HSLhsl(68, 50%, 50%)
HSVhsv(68, 67%, 75%)
CMYKcmyk(9.4%, 0%, 66.7%, 24.7%)
CIE-LABlab(74.23, -23.10, 59.76)
CIE-LCHlch(74.23, 64.06, 111.13°)
OKLaboklab(76.99% -0.0686 0.1348)
OKLCHoklch(76.99% 0.151 117)
XYZxyz(37.2314, 47.0685, 11.9733)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC040 #5240C0
analogous
#C09240 #AEC040 #6EC040
triadic
#AEC040 #40AEC0 #C040AE
tetradic
#AEC040 #40C092 #5240C0 #C0406E
square
#AEC040 #40C092 #5240C0 #C0406E
split-complementary
#AEC040 #406EC0 #9240C0
monochromatic
#5B6421 #859230 #AEC040 #C2CF6E #D5DE9C

Accessibility & contrast

On white

2.02
#AEC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AEC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC040
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC040#FFFFFF#000000##000000
##AEC0401.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#B8B6A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aec040;
/* rgb */ color: rgb(174, 192, 64);
/* oklch */ color: oklch(77.0% 0.151 117.0);
Tailwind
colors: {
  custom: {
    50: '#c9d37c',
    500: '#aec040',
    950: '#000000',
  },
}
SCSS
$custom: #aec040;
$custom-light: #c9d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#aec040",
  "rgb": {
    "r": 174,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 68.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76994,
    "c": 0.15124,
    "h": 117
  },
  "luminance": 0.47068
}

Semantic roles & 50–950 ramp

primary
#AEC040
secondary
#9991CB
accent
#4EDA62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AEC040

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

Preview Lab → · Contrast checker → · Palette generator →

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