#AEC042#AEC042

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

Color values

HEX#AEC042
RGBrgb(174, 192, 66)
HSLhsl(69, 50%, 51%)
HSVhsv(69, 66%, 75%)
CMYKcmyk(9.4%, 0%, 65.6%, 24.7%)
CIE-LABlab(74.25, -22.97, 58.98)
CIE-LCHlch(74.25, 63.29, 111.28°)
OKLaboklab(77.01% -0.068 0.1334)
OKLCHoklch(77.01% 0.15 117)
XYZxyz(37.2894, 47.0917, 12.2784)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC042 #5442C0
analogous
#C09342 #AEC042 #6FC042
triadic
#AEC042 #42AEC0 #C042AE
tetradic
#AEC042 #42C093 #5442C0 #C0426F
square
#AEC042 #42C093 #5442C0 #C0426F
split-complementary
#AEC042 #426FC0 #9342C0
monochromatic
#5C6622 #869431 #AEC042 #C2CF70 #D5DF9E

Accessibility & contrast

On white

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

On black

10.42
#AEC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC042
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC042#FFFFFF#000000##000000
##AEC0421.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aec042;
/* rgb */ color: rgb(174, 192, 66);
/* oklch */ color: oklch(77.0% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#c9d37d',
    500: '#aec042',
    950: '#000000',
  },
}
SCSS
$custom: #aec042;
$custom-light: #c9d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#aec042",
  "rgb": {
    "r": 174,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 68.571,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77011,
    "c": 0.14979,
    "h": 117
  },
  "luminance": 0.47091
}

Semantic roles & 50–950 ramp

primary
#AEC042
secondary
#9B93CB
accent
#4EDA62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AEC042

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

Preview Lab → · Contrast checker → · Palette generator →

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