#AEB531#AEB531

#AEB531 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.4% C 0.149 H 112.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#AEB531
RGBrgb(174, 181, 49)
HSLhsl(63, 57%, 45%)
HSVhsv(63, 73%, 71%)
CMYKcmyk(3.9%, 0%, 72.9%, 29%)
CIE-LABlab(71.06, -18.45, 62.19)
CIE-LCHlch(71.06, 64.87, 106.53°)
OKLaboklab(74.41% -0.0571 0.1375)
OKLCHoklch(74.41% 0.149 112.6)
XYZxyz(34.5349, 42.2690, 9.2446)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB531 #3831B5
analogous
#B57A31 #AEB531 #6CB531
triadic
#AEB531 #31AEB5 #B531AE
tetradic
#AEB531 #31B57A #3831B5 #B5316C
square
#AEB531 #31B57A #3831B5 #B5316C
split-complementary
#AEB531 #316CB5 #7A31B5
monochromatic
#515517 #808524 #AEB531 #CAD053 #D9DD83

Accessibility & contrast

On white

2.22
#AEB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#AEB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB531
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB531#FFFFFF#000000##000000
##AEB5311.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC17
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#BAAA9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aeb531;
/* rgb */ color: rgb(174, 181, 49);
/* oklch */ color: oklch(74.4% 0.149 112.6);
Tailwind
colors: {
  custom: {
    50: '#cacb73',
    500: '#aeb531',
    950: '#000000',
  },
}
SCSS
$custom: #aeb531;
$custom-light: #cacb73;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb531",
  "rgb": {
    "r": 174,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 63.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74415,
    "c": 0.14883,
    "h": 112.6
  },
  "luminance": 0.42268
}

Semantic roles & 50–950 ramp

primary
#AEB531
secondary
#7F7BC7
accent
#47E14F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AEB531

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

Preview Lab → · Contrast checker → · Palette generator →

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