#AEC931#AEC931

#AEC931 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.9% C 0.171 H 119.5°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#AEC931
RGBrgb(174, 201, 49)
HSLhsl(71, 61%, 49%)
HSVhsv(71, 76%, 79%)
CMYKcmyk(13.4%, 0%, 75.6%, 21.2%)
CIE-LABlab(76.68, -28.24, 67.50)
CIE-LCHlch(76.68, 73.17, 112.71°)
OKLaboklab(78.93% -0.0842 0.1487)
OKLCHoklch(78.93% 0.171 119.5)
XYZxyz(38.8974, 50.9939, 10.6988)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC931 #4C31C9
analogous
#C99831 #AEC931 #62C931
triadic
#AEC931 #31AEC9 #C931AE
tetradic
#AEC931 #31C998 #4C31C9 #C93162
square
#AEC931 #31C998 #4C31C9 #C93162
split-complementary
#AEC931 #3162C9 #9831C9
monochromatic
#596719 #839825 #AEC931 #C3D85F #D5E490

Accessibility & contrast

On white

1.88
#AEC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#AEC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC931
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC931#FFFFFF#000000##000000
##AEC9311.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD08
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#B8BEAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aec931;
/* rgb */ color: rgb(174, 201, 49);
/* oklch */ color: oklch(78.9% 0.171 119.5);
Tailwind
colors: {
  custom: {
    50: '#cad975',
    500: '#aec931',
    950: '#000000',
  },
}
SCSS
$custom: #aec931;
$custom-light: #cad975;
$custom-dark: #000000;
JSON
{
  "hex": "#aec931",
  "rgb": {
    "r": 174,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 70.658,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78929,
    "c": 0.17083,
    "h": 119.5
  },
  "luminance": 0.50994
}

Semantic roles & 50–950 ramp

primary
#AEC931
secondary
#392D71
accent
#44E460
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AEC931

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

Preview Lab → · Contrast checker → · Palette generator →

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