#AEC342#AEC342

#AEC342 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.153 H 118.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#AEC342
RGBrgb(174, 195, 66)
HSLhsl(70, 52%, 51%)
HSVhsv(70, 66%, 76%)
CMYKcmyk(10.8%, 0%, 66.2%, 23.5%)
CIE-LABlab(75.09, -24.44, 59.85)
CIE-LCHlch(75.09, 64.65, 112.21°)
OKLaboklab(77.69% -0.0721 0.1353)
OKLCHoklch(77.69% 0.153 118.1)
XYZxyz(37.9548, 48.4226, 12.5002)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC342 #5742C3
analogous
#C39742 #AEC342 #6DC342
triadic
#AEC342 #42AEC3 #C342AE
tetradic
#AEC342 #42C397 #5742C3 #C3426D
square
#AEC342 #42C397 #5742C3 #C3426D
split-complementary
#AEC342 #426DC3 #9742C3
monochromatic
#5E6921 #879830 #AEC342 #C2D270 #D6E09F

Accessibility & contrast

On white

1.97
#AEC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#AEC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC342
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC342#FFFFFF#000000##000000
##AEC3421.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#B8B9A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #aec342;
/* rgb */ color: rgb(174, 195, 66);
/* oklch */ color: oklch(77.7% 0.153 118.1);
Tailwind
colors: {
  custom: {
    50: '#c9d57d',
    500: '#aec342',
    950: '#000000',
  },
}
SCSS
$custom: #aec342;
$custom-light: #c9d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#aec342",
  "rgb": {
    "r": 174,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 69.767,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77687,
    "c": 0.1533,
    "h": 118.1
  },
  "luminance": 0.48422
}

Semantic roles & 50–950 ramp

primary
#AEC342
secondary
#9D94CD
accent
#4DDB64
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AEC342

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

Preview Lab → · Contrast checker → · Palette generator →

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