#AEC242#AEC242

#AEC242 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.152 H 117.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#AEC242
RGBrgb(174, 194, 66)
HSLhsl(69, 51%, 51%)
HSVhsv(69, 66%, 76%)
CMYKcmyk(10.3%, 0%, 66%, 23.9%)
CIE-LABlab(74.81, -23.95, 59.56)
CIE-LCHlch(74.81, 64.19, 111.91°)
OKLaboklab(77.46% -0.0708 0.1347)
OKLCHoklch(77.46% 0.152 117.7)
XYZxyz(37.7315, 47.9760, 12.4258)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC242 #5642C2
analogous
#C29642 #AEC242 #6EC242
triadic
#AEC242 #42AEC2 #C242AE
tetradic
#AEC242 #42C296 #5642C2 #C2426E
square
#AEC242 #42C296 #5642C2 #C2426E
split-complementary
#AEC242 #426EC2 #9642C2
monochromatic
#5D6822 #869631 #AEC242 #C2D170 #D6E09F

Accessibility & contrast

On white

1.98
#AEC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#AEC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC242
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC242#FFFFFF#000000##000000
##AEC2421.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#B8B8A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aec242;
/* rgb */ color: rgb(174, 194, 66);
/* oklch */ color: oklch(77.5% 0.152 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d47d',
    500: '#aec242',
    950: '#000000',
  },
}
SCSS
$custom: #aec242;
$custom-light: #c9d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#aec242",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 69.375,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77462,
    "c": 0.15213,
    "h": 117.7
  },
  "luminance": 0.47976
}

Semantic roles & 50–950 ramp

primary
#AEC242
secondary
#9C94CC
accent
#4DDB63
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AEC242

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

Preview Lab → · Contrast checker → · Palette generator →

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