#AEC240#AEC240

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

Color values

HEX#AEC240
RGBrgb(174, 194, 64)
HSLhsl(69, 52%, 51%)
HSVhsv(69, 67%, 76%)
CMYKcmyk(10.3%, 0%, 67%, 23.9%)
CIE-LABlab(74.80, -24.07, 60.33)
CIE-LCHlch(74.80, 64.96, 111.75°)
OKLaboklab(77.44% -0.0713 0.136)
OKLCHoklch(77.44% 0.154 117.7)
XYZxyz(37.6735, 47.9528, 12.1207)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC240 #5440C2
analogous
#C29540 #AEC240 #6DC240
triadic
#AEC240 #40AEC2 #C240AE
tetradic
#AEC240 #40C295 #5440C2 #C2406D
square
#AEC240 #40C295 #5440C2 #C2406D
split-complementary
#AEC240 #406DC2 #9540C2
monochromatic
#5C6721 #869530 #AEC240 #C2D16E #D5E09D

Accessibility & contrast

On white

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

On black

10.59
#AEC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC240
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC240#FFFFFF#000000##000000
##AEC2401.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aec240;
/* rgb */ color: rgb(174, 194, 64);
/* oklch */ color: oklch(77.4% 0.154 117.7);
Tailwind
colors: {
  custom: {
    50: '#c9d47c',
    500: '#aec240',
    950: '#000000',
  },
}
SCSS
$custom: #aec240;
$custom-light: #c9d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#aec240",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 69.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77445,
    "c": 0.15356,
    "h": 117.7
  },
  "luminance": 0.47952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AEC240

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

Preview Lab → · Contrast checker → · Palette generator →

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