#AEC742#AEC742

#AEC742 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.6% C 0.158 H 119.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#AEC742
RGBrgb(174, 199, 66)
HSLhsl(71, 54%, 52%)
HSVhsv(71, 67%, 78%)
CMYKcmyk(12.6%, 0%, 66.8%, 22%)
CIE-LABlab(76.22, -26.37, 61.01)
CIE-LCHlch(76.22, 66.47, 113.38°)
OKLaboklab(78.59% -0.0775 0.1377)
OKLCHoklch(78.59% 0.158 119.4)
XYZxyz(38.8630, 50.2391, 12.8030)
Luminance0.5024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC742 #5B42C7
analogous
#C79E42 #AEC742 #6CC742
triadic
#AEC742 #42AEC7 #C742AE
tetradic
#AEC742 #42C79E #5B42C7 #C7426C
square
#AEC742 #42C79E #5B42C7 #C7426C
split-complementary
#AEC742 #426CC7 #9E42C7
monochromatic
#5F6E21 #889D2F #AEC742 #C2D571 #D6E3A0

Accessibility & contrast

On white

1.90
#AEC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#AEC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC742
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC742#FFFFFF#000000##000000
##AEC7421.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#D1BC4C
Tritanopia (blue-blind)
#B8BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aec742;
/* rgb */ color: rgb(174, 199, 66);
/* oklch */ color: oklch(78.6% 0.158 119.4);
Tailwind
colors: {
  custom: {
    50: '#c9d87e',
    500: '#aec742',
    950: '#000000',
  },
}
SCSS
$custom: #aec742;
$custom-light: #c9d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#aec742",
  "rgb": {
    "r": 174,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 71.278,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78592,
    "c": 0.15804,
    "h": 119.4
  },
  "luminance": 0.50239
}

Semantic roles & 50–950 ramp

primary
#AEC742
secondary
#423678
accent
#4ADE66
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AEC742

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

Preview Lab → · Contrast checker → · Palette generator →

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