#AEC842#AEC842

#AEC842 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.8% C 0.159 H 119.7°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#AEC842
RGBrgb(174, 200, 66)
HSLhsl(72, 55%, 52%)
HSVhsv(72, 67%, 78%)
CMYKcmyk(13%, 0%, 67%, 21.6%)
CIE-LABlab(76.50, -26.85, 61.30)
CIE-LCHlch(76.50, 66.92, 113.66°)
OKLaboklab(78.82% -0.0788 0.1383)
OKLCHoklch(78.82% 0.159 119.7)
XYZxyz(39.0939, 50.7008, 12.8799)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC842 #5C42C8
analogous
#C89F42 #AEC842 #6BC842
triadic
#AEC842 #42AEC8 #C842AE
tetradic
#AEC842 #42C89F #5C42C8 #C8426B
square
#AEC842 #42C89F #5C42C8 #C8426B
split-complementary
#AEC842 #426BC8 #9F42C8
monochromatic
#606F20 #899F2E #AEC842 #C2D671 #D7E4A1

Accessibility & contrast

On white

1.89
#AEC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#AEC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC842
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC842#FFFFFF#000000##000000
##AEC8421.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2F
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#B8BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aec842;
/* rgb */ color: rgb(174, 200, 66);
/* oklch */ color: oklch(78.8% 0.159 119.7);
Tailwind
colors: {
  custom: {
    50: '#c9d87e',
    500: '#aec842',
    950: '#000000',
  },
}
SCSS
$custom: #aec842;
$custom-light: #c9d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#aec842",
  "rgb": {
    "r": 174,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 71.642,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78819,
    "c": 0.15922,
    "h": 119.7
  },
  "luminance": 0.50701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AEC842

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

Preview Lab → · Contrast checker → · Palette generator →

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