#AEC231#AEC231

#AEC231 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.3% C 0.163 H 117.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#AEC231
RGBrgb(174, 194, 49)
HSLhsl(68, 60%, 48%)
HSVhsv(68, 75%, 76%)
CMYKcmyk(10.3%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.70, -24.88, 65.65)
CIE-LCHlch(74.70, 70.20, 110.76°)
OKLaboklab(77.34% -0.0749 0.1447)
OKLCHoklch(77.34% 0.163 117.4)
XYZxyz(37.3026, 47.8044, 10.1672)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEC231 #4531C2
analogous
#C28E31 #AEC231 #65C231
triadic
#AEC231 #31AEC2 #C231AE
tetradic
#AEC231 #31C28E #4531C2 #C23165
square
#AEC231 #31C28E #4531C2 #C23165
split-complementary
#AEC231 #3165C2 #8E31C2
monochromatic
#566018 #829125 #AEC231 #C5D65B #D6E28C

Accessibility & contrast

On white

1.99
#AEC231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#AEC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEC231
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEC231#FFFFFF#000000##000000
##AEC2311.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CDB93E
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aec231;
/* rgb */ color: rgb(174, 194, 49);
/* oklch */ color: oklch(77.3% 0.163 117.4);
Tailwind
colors: {
  custom: {
    50: '#cad474',
    500: '#aec231',
    950: '#000000',
  },
}
SCSS
$custom: #aec231;
$custom-light: #cad474;
$custom-dark: #000000;
JSON
{
  "hex": "#aec231",
  "rgb": {
    "r": 174,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 68.276,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7734,
    "c": 0.16297,
    "h": 117.4
  },
  "luminance": 0.47804
}

Semantic roles & 50–950 ramp

primary
#AEC231
secondary
#8D83CC
accent
#45E35B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AEC231

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

Preview Lab → · Contrast checker → · Palette generator →

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