#AEC831#AEC831

#AEC831 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.7% C 0.170 H 119.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#AEC831
RGBrgb(174, 200, 49)
HSLhsl(70, 61%, 49%)
HSVhsv(70, 76%, 78%)
CMYKcmyk(13%, 0%, 75.5%, 21.6%)
CIE-LABlab(76.39, -27.77, 67.23)
CIE-LCHlch(76.39, 72.74, 112.44°)
OKLaboklab(78.7% -0.0828 0.1481)
OKLCHoklch(78.7% 0.17 119.2)
XYZxyz(38.6650, 50.5292, 10.6213)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC831 #4B31C8
analogous
#C89731 #AEC831 #63C831
triadic
#AEC831 #31AEC8 #C831AE
tetradic
#AEC831 #31C897 #4B31C8 #C83163
square
#AEC831 #31C897 #4B31C8 #C83163
split-complementary
#AEC831 #3163C8 #9731C8
monochromatic
#586619 #839725 #AEC831 #C3D85F #D5E490

Accessibility & contrast

On white

1.89
#AEC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#AEC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC831
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC831#FFFFFF#000000##000000
##AEC8311.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC09
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#B8BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aec831;
/* rgb */ color: rgb(174, 200, 49);
/* oklch */ color: oklch(78.7% 0.170 119.2);
Tailwind
colors: {
  custom: {
    50: '#cad875',
    500: '#aec831',
    950: '#000000',
  },
}
SCSS
$custom: #aec831;
$custom-light: #cad875;
$custom-dark: #000000;
JSON
{
  "hex": "#aec831",
  "rgb": {
    "r": 174,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 70.331,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78701,
    "c": 0.16969,
    "h": 119.2
  },
  "luminance": 0.50529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AEC831

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

Preview Lab → · Contrast checker → · Palette generator →

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