#AEC226#AEC226

#AEC226 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.168 H 117.2°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AEC226
RGBrgb(174, 194, 38)
HSLhsl(68, 67%, 45%)
HSVhsv(68, 80%, 76%)
CMYKcmyk(10.3%, 0%, 80.4%, 23.9%)
CIE-LABlab(74.65, -25.33, 68.88)
CIE-LCHlch(74.65, 73.39, 110.19°)
OKLaboklab(77.28% -0.077 0.1497)
OKLCHoklch(77.28% 0.168 117.2)
XYZxyz(37.0982, 47.7226, 9.0904)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC226 #3A26C2
analogous
#C28826 #AEC226 #60C226
triadic
#AEC226 #26AEC2 #C226AE
tetradic
#AEC226 #26C288 #3A26C2 #C22660
square
#AEC226 #26C288 #3A26C2 #C22660
split-complementary
#AEC226 #2660C2 #8826C2
monochromatic
#525C12 #808F1C #AEC226 #C9DB4A #D8E67D

Accessibility & contrast

On white

1.99
#AEC226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#AEC226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC226
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC226#FFFFFF#000000##000000
##AEC2261.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CEB936
Tritanopia (blue-blind)
#B9B7A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aec226;
/* rgb */ color: rgb(174, 194, 38);
/* oklch */ color: oklch(77.3% 0.168 117.2);
Tailwind
colors: {
  custom: {
    50: '#cad46f',
    500: '#aec226',
    950: '#000000',
  },
}
SCSS
$custom: #aec226;
$custom-light: #cad46f;
$custom-dark: #000000;
JSON
{
  "hex": "#aec226",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 38
  },
  "hsl": {
    "h": 67.692,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.77282,
    "c": 0.16835,
    "h": 117.2
  },
  "luminance": 0.47722
}

Semantic roles & 50–950 ramp

primary
#AEC226
secondary
#8176CE
accent
#3EEA54
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AEC226

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

Preview Lab → · Contrast checker → · Palette generator →

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