#AEC02C#AEC02C

#AEC02C is a light, vivid yellow. Relative luminance 0.469; OKLCH L 76.9% C 0.163 H 116.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#AEC02C
RGBrgb(174, 192, 44)
HSLhsl(67, 63%, 46%)
HSVhsv(67, 77%, 75%)
CMYKcmyk(9.4%, 0%, 77.1%, 24.7%)
CIE-LABlab(74.11, -24.12, 66.68)
CIE-LCHlch(74.11, 70.91, 109.89°)
OKLaboklab(76.86% -0.0732 0.1461)
OKLCHoklch(76.86% 0.163 116.6)
XYZxyz(36.7608, 46.8803, 9.4946)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC02C #3E2CC0
analogous
#C0882C #AEC02C #64C02C
triadic
#AEC02C #2CAEC0 #C02CAE
tetradic
#AEC02C #2CC088 #3E2CC0 #C02C64
square
#AEC02C #2CC088 #3E2CC0 #C02C64
split-complementary
#AEC02C #2C64C0 #882CC0
monochromatic
#545C15 #818E21 #AEC02C #C7D752 #D7E384

Accessibility & contrast

On white

2.02
#AEC02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#AEC02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC02C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC02C#FFFFFF#000000##000000
##AEC02C1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#B9B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #aec02c;
/* rgb */ color: rgb(174, 192, 44);
/* oklch */ color: oklch(76.9% 0.163 116.6);
Tailwind
colors: {
  custom: {
    50: '#cad272',
    500: '#aec02c',
    950: '#000000',
  },
}
SCSS
$custom: #aec02c;
$custom-light: #cad272;
$custom-dark: #000000;
JSON
{
  "hex": "#aec02c",
  "rgb": {
    "r": 174,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 67.297,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76859,
    "c": 0.16339,
    "h": 116.6
  },
  "luminance": 0.4688
}

Semantic roles & 50–950 ramp

primary
#AEC02C
secondary
#867CCC
accent
#42E656
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AEC02C

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

Preview Lab → · Contrast checker → · Palette generator →

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