#AECC31#AECC31

#AECC31 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.6% C 0.174 H 120.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#AECC31
RGBrgb(174, 204, 49)
HSLhsl(72, 61%, 50%)
HSVhsv(72, 76%, 80%)
CMYKcmyk(14.7%, 0%, 76%, 20%)
CIE-LABlab(77.52, -29.66, 68.28)
CIE-LCHlch(77.52, 74.45, 113.48°)
OKLaboklab(79.61% -0.0881 0.1503)
OKLCHoklch(79.61% 0.174 120.4)
XYZxyz(39.6036, 52.4063, 10.9342)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AECC31 #4F31CC
analogous
#CC9D31 #AECC31 #60CC31
triadic
#AECC31 #31AECC #CC31AE
tetradic
#AECC31 #31CC9D #4F31CC #CC3160
square
#AECC31 #31CC9D #4F31CC #CC3160
split-complementary
#AECC31 #3160CC #9D31CC
monochromatic
#5A6919 #849B25 #AECC31 #C2D961 #D5E592

Accessibility & contrast

On white

1.83
#AECC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#AECC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AECC31
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AECC31#FFFFFF#000000##000000
##AECC311.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C005
Deuteranopia (green-blind)
#D5C040
Tritanopia (blue-blind)
#B8C1AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #aecc31;
/* rgb */ color: rgb(174, 204, 49);
/* oklch */ color: oklch(79.6% 0.174 120.4);
Tailwind
colors: {
  custom: {
    50: '#cadb75',
    500: '#aecc31',
    950: '#000000',
  },
}
SCSS
$custom: #aecc31;
$custom-light: #cadb75;
$custom-dark: #000000;
JSON
{
  "hex": "#aecc31",
  "rgb": {
    "r": 174,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 71.613,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79612,
    "c": 0.17422,
    "h": 120.4
  },
  "luminance": 0.52406
}

Semantic roles & 50–950 ramp

primary
#AECC31
secondary
#3B2E73
accent
#43E463
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AECC31

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

Preview Lab → · Contrast checker → · Palette generator →

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