#AEC142#AEC142

#AEC142 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.151 H 117.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#AEC142
RGBrgb(174, 193, 66)
HSLhsl(69, 51%, 51%)
HSVhsv(69, 66%, 76%)
CMYKcmyk(9.8%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.53, -23.46, 59.27)
CIE-LCHlch(74.53, 63.74, 111.60°)
OKLaboklab(77.24% -0.0694 0.1341)
OKLCHoklch(77.24% 0.151 117.4)
XYZxyz(37.5097, 47.5323, 12.3519)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC142 #5542C1
analogous
#C19442 #AEC142 #6EC142
triadic
#AEC142 #42AEC1 #C142AE
tetradic
#AEC142 #42C194 #5542C1 #C1426E
square
#AEC142 #42C194 #5542C1 #C1426E
split-complementary
#AEC142 #426EC1 #9442C1
monochromatic
#5D6722 #869531 #AEC142 #C2D070 #D5DF9E

Accessibility & contrast

On white

2.00
#AEC142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#AEC142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC142
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC142#FFFFFF#000000##000000
##AEC1421.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#B8B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aec142;
/* rgb */ color: rgb(174, 193, 66);
/* oklch */ color: oklch(77.2% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#c9d37d',
    500: '#aec142',
    950: '#000000',
  },
}
SCSS
$custom: #aec142;
$custom-light: #c9d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#aec142",
  "rgb": {
    "r": 174,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 68.976,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77236,
    "c": 0.15096,
    "h": 117.4
  },
  "luminance": 0.47532
}

Semantic roles & 50–950 ramp

primary
#AEC142
secondary
#9C93CC
accent
#4EDA63
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AEC142

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

Preview Lab → · Contrast checker → · Palette generator →

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