#AECC42#AECC42

#AECC42 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.7% C 0.164 H 120.9°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#AECC42
RGBrgb(174, 204, 66)
HSLhsl(73, 58%, 53%)
HSVhsv(73, 68%, 80%)
CMYKcmyk(14.7%, 0%, 67.6%, 20%)
CIE-LABlab(77.63, -28.76, 62.46)
CIE-LCHlch(77.63, 68.76, 114.73°)
OKLaboklab(79.73% -0.0841 0.1408)
OKLCHoklch(79.73% 0.164 120.9)
XYZxyz(40.0324, 52.5778, 13.1928)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AECC42 #6042CC
analogous
#CCA542 #AECC42 #69CC42
triadic
#AECC42 #42AECC #CC42AE
tetradic
#AECC42 #42CCA5 #6042CC #CC4269
square
#AECC42 #42CCA5 #6042CC #CC4269
split-complementary
#AECC42 #4269CC #A542CC
monochromatic
#62741F #8AA42C #AECC42 #C3D972 #D7E6A2

Accessibility & contrast

On white

1.82
#AECC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#AECC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AECC42
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AECC42#FFFFFF#000000##000000
##AECC421.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#B7C2B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #aecc42;
/* rgb */ color: rgb(174, 204, 66);
/* oklch */ color: oklch(79.7% 0.164 120.9);
Tailwind
colors: {
  custom: {
    50: '#c9db7e',
    500: '#aecc42',
    950: '#000000',
  },
}
SCSS
$custom: #aecc42;
$custom-light: #c9db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aecc42",
  "rgb": {
    "r": 174,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 73.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79727,
    "c": 0.16399,
    "h": 120.9
  },
  "luminance": 0.52578
}

Semantic roles & 50–950 ramp

primary
#AECC42
secondary
#45357D
accent
#47E168
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AECC42

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

Preview Lab → · Contrast checker → · Palette generator →

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