#AEC031#AEC031

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

Color values

HEX#AEC031
RGBrgb(174, 192, 49)
HSLhsl(68, 59%, 47%)
HSVhsv(68, 74%, 75%)
CMYKcmyk(9.4%, 0%, 74.5%, 24.7%)
CIE-LABlab(74.14, -23.91, 65.12)
CIE-LCHlch(74.14, 69.37, 110.16°)
OKLaboklab(76.89% -0.0722 0.1436)
OKLCHoklch(76.89% 0.161 116.7)
XYZxyz(36.8605, 46.9202, 10.0198)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC031 #4331C0
analogous
#C08A31 #AEC031 #67C031
triadic
#AEC031 #31AEC0 #C031AE
tetradic
#AEC031 #31C08A #4331C0 #C03167
square
#AEC031 #31C08A #4331C0 #C03167
split-complementary
#AEC031 #3167C0 #8A31C0
monochromatic
#565E18 #828F25 #AEC031 #C5D559 #D6E18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEC031#FFFFFF#000000##000000
##AEC0311.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)
#CDB610
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#B9B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #aec031;
/* rgb */ color: rgb(174, 192, 49);
/* oklch */ color: oklch(76.9% 0.161 116.7);
Tailwind
colors: {
  custom: {
    50: '#cad274',
    500: '#aec031',
    950: '#000000',
  },
}
SCSS
$custom: #aec031;
$custom-light: #cad274;
$custom-dark: #000000;
JSON
{
  "hex": "#aec031",
  "rgb": {
    "r": 174,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 67.552,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76888,
    "c": 0.16075,
    "h": 116.7
  },
  "luminance": 0.4692
}

Semantic roles & 50–950 ramp

primary
#AEC031
secondary
#8B82CB
accent
#45E359
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AEC031

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

Preview Lab → · Contrast checker → · Palette generator →

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