#AEC328#AEC328

#AEC328 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.5% C 0.169 H 117.5°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#AEC328
RGBrgb(174, 195, 40)
HSLhsl(68, 66%, 46%)
HSVhsv(68, 79%, 76%)
CMYKcmyk(10.8%, 0%, 79.5%, 23.5%)
CIE-LABlab(74.94, -25.74, 68.59)
CIE-LCHlch(74.94, 73.26, 110.57°)
OKLaboklab(77.52% -0.0779 0.1495)
OKLCHoklch(77.52% 0.169 117.5)
XYZxyz(37.3546, 48.1825, 9.3394)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC328 #3D28C3
analogous
#C38A28 #AEC328 #60C328
triadic
#AEC328 #28AEC3 #C328AE
tetradic
#AEC328 #28C38A #3D28C3 #C32860
square
#AEC328 #28C38A #3D28C3 #C32860
split-complementary
#AEC328 #2860C3 #8A28C3
monochromatic
#535D13 #81901E #AEC328 #C8DB4E #D7E580

Accessibility & contrast

On white

1.97
#AEC328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#AEC328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC328
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC328#FFFFFF#000000##000000
##AEC3281.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#B9B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aec328;
/* rgb */ color: rgb(174, 195, 40);
/* oklch */ color: oklch(77.5% 0.169 117.5);
Tailwind
colors: {
  custom: {
    50: '#cad570',
    500: '#aec328',
    950: '#000000',
  },
}
SCSS
$custom: #aec328;
$custom-light: #cad570;
$custom-dark: #000000;
JSON
{
  "hex": "#aec328",
  "rgb": {
    "r": 174,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 68.129,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77518,
    "c": 0.16856,
    "h": 117.5
  },
  "luminance": 0.48182
}

Semantic roles & 50–950 ramp

primary
#AEC328
secondary
#8579CE
accent
#3FE956
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #AEC328

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

Preview Lab → · Contrast checker → · Palette generator →

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