#AEC42F#AEC42F

#AEC42F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.8% C 0.166 H 118.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#AEC42F
RGBrgb(174, 196, 47)
HSLhsl(69, 61%, 48%)
HSVhsv(69, 76%, 77%)
CMYKcmyk(11.2%, 0%, 76%, 23.1%)
CIE-LABlab(75.25, -25.94, 66.80)
CIE-LCHlch(75.25, 71.66, 111.22°)
OKLaboklab(77.78% -0.078 0.1469)
OKLCHoklch(77.78% 0.166 118)
XYZxyz(37.7095, 48.6841, 10.0992)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC42F #452FC4
analogous
#C48F2F #AEC42F #63C42F
triadic
#AEC42F #2FAEC4 #C42FAE
tetradic
#AEC42F #2FC48F #452FC4 #C42F63
square
#AEC42F #2FC48F #452FC4 #C42F63
split-complementary
#AEC42F #2F63C4 #8F2FC4
monochromatic
#566117 #829323 #AEC42F #C5D759 #D6E38A

Accessibility & contrast

On white

1.96
#AEC42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#AEC42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC42F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC42F#FFFFFF#000000##000000
##AEC42F1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B906
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#B9B9A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #aec42f;
/* rgb */ color: rgb(174, 196, 47);
/* oklch */ color: oklch(77.8% 0.166 118.0);
Tailwind
colors: {
  custom: {
    50: '#cad574',
    500: '#aec42f',
    950: '#000000',
  },
}
SCSS
$custom: #aec42f;
$custom-light: #cad574;
$custom-dark: #000000;
JSON
{
  "hex": "#aec42f",
  "rgb": {
    "r": 174,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 68.859,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77782,
    "c": 0.16627,
    "h": 118
  },
  "luminance": 0.48684
}

Semantic roles & 50–950 ramp

primary
#AEC42F
secondary
#8D82CD
accent
#43E45B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AEC42F

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

Preview Lab → · Contrast checker → · Palette generator →

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