#AEC631#AEC631

#AEC631 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.2% C 0.167 H 118.6°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#AEC631
RGBrgb(174, 198, 49)
HSLhsl(70, 60%, 48%)
HSVhsv(70, 75%, 78%)
CMYKcmyk(12.1%, 0%, 75.3%, 22.4%)
CIE-LABlab(75.83, -26.81, 66.70)
CIE-LCHlch(75.83, 71.89, 111.90°)
OKLaboklab(78.25% -0.0802 0.147)
OKLCHoklch(78.25% 0.167 118.6)
XYZxyz(38.2049, 49.6089, 10.4680)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC631 #4931C6
analogous
#C69331 #AEC631 #64C631
triadic
#AEC631 #31AEC6 #C631AE
tetradic
#AEC631 #31C693 #4931C6 #C63164
square
#AEC631 #31C693 #4931C6 #C63164
split-complementary
#AEC631 #3164C6 #9331C6
monochromatic
#586419 #839525 #AEC631 #C3D75D #D5E38E

Accessibility & contrast

On white

1.92
#AEC631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#AEC631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC631
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC631#FFFFFF#000000##000000
##AEC6311.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0B
Deuteranopia (green-blind)
#D1BB3F
Tritanopia (blue-blind)
#B9BBAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #aec631;
/* rgb */ color: rgb(174, 198, 49);
/* oklch */ color: oklch(78.2% 0.167 118.6);
Tailwind
colors: {
  custom: {
    50: '#cad775',
    500: '#aec631',
    950: '#000000',
  },
}
SCSS
$custom: #aec631;
$custom-light: #cad775;
$custom-dark: #000000;
JSON
{
  "hex": "#aec631",
  "rgb": {
    "r": 174,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 69.664,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78247,
    "c": 0.16745,
    "h": 118.6
  },
  "luminance": 0.49609
}

Semantic roles & 50–950 ramp

primary
#AEC631
secondary
#9185CE
accent
#44E35E
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #AEC631

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

Preview Lab → · Contrast checker → · Palette generator →

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