#AEC122#AEC122

#AEC122 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.0% C 0.169 H 116.8°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#AEC122
RGBrgb(174, 193, 34)
HSLhsl(67, 70%, 45%)
HSVhsv(67, 82%, 76%)
CMYKcmyk(9.8%, 0%, 82.4%, 24.3%)
CIE-LABlab(74.35, -24.98, 69.66)
CIE-LCHlch(74.35, 74.00, 109.73°)
OKLaboklab(77.04% -0.0763 0.1507)
OKLCHoklch(77.04% 0.169 116.8)
XYZxyz(36.8153, 47.2546, 8.6947)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC122 #3522C1
analogous
#C18522 #AEC122 #5EC122
triadic
#AEC122 #22AEC1 #C122AE
tetradic
#AEC122 #22C185 #3522C1 #C1225E
square
#AEC122 #22C185 #3522C1 #C1225E
split-complementary
#AEC122 #225EC1 #8522C1
monochromatic
#505910 #7F8D19 #AEC122 #CBDE42 #DAE776

Accessibility & contrast

On white

2.01
#AEC122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#AEC122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC122
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC122#FFFFFF#000000##000000
##AEC1221.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CDB833
Tritanopia (blue-blind)
#B9B6A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #aec122;
/* rgb */ color: rgb(174, 193, 34);
/* oklch */ color: oklch(77.0% 0.169 116.8);
Tailwind
colors: {
  custom: {
    50: '#cad36e',
    500: '#aec122',
    950: '#000000',
  },
}
SCSS
$custom: #aec122;
$custom-light: #cad36e;
$custom-dark: #000000;
JSON
{
  "hex": "#aec122",
  "rgb": {
    "r": 174,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 67.17,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77038,
    "c": 0.16893,
    "h": 116.8
  },
  "luminance": 0.47254
}

Semantic roles & 50–950 ramp

primary
#AEC122
secondary
#7C71CE
accent
#3BED50
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AEC122

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

Preview Lab → · Contrast checker → · Palette generator →

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