#AEB540#AEB540

#AEB540 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.139 H 112.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#AEB540
RGBrgb(174, 181, 64)
HSLhsl(64, 48%, 48%)
HSVhsv(64, 65%, 71%)
CMYKcmyk(3.9%, 0%, 64.6%, 29%)
CIE-LABlab(71.16, -17.62, 56.57)
CIE-LCHlch(71.16, 59.25, 107.30°)
OKLaboklab(74.53% -0.0533 0.1281)
OKLCHoklch(74.53% 0.139 112.6)
XYZxyz(34.9058, 42.4173, 11.1981)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB540 #4740B5
analogous
#B58140 #AEB540 #73B540
triadic
#AEB540 #40AEB5 #B540AE
tetradic
#AEB540 #40B581 #4740B5 #B54073
square
#AEB540 #40B581 #4740B5 #B54073
split-complementary
#AEB540 #4073B5 #8140B5
monochromatic
#575B20 #838830 #AEB540 #C4CA68 #D6DA96

Accessibility & contrast

On white

2.21
#AEB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#AEB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB540
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB540#FFFFFF#000000##000000
##AEB5401.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#C2B048
Tritanopia (blue-blind)
#B9AA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aeb540;
/* rgb */ color: rgb(174, 181, 64);
/* oklch */ color: oklch(74.5% 0.139 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9cb7b',
    500: '#aeb540',
    950: '#000000',
  },
}
SCSS
$custom: #aeb540;
$custom-light: #c9cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb540",
  "rgb": {
    "r": 174,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 63.59,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.13871,
    "h": 112.6
  },
  "luminance": 0.42417
}

Semantic roles & 50–950 ramp

primary
#AEB540
secondary
#8F8BC5
accent
#50D759
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB540

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

Preview Lab → · Contrast checker → · Palette generator →

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