#AEB542#AEB542

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

Color values

HEX#AEB542
RGBrgb(174, 181, 66)
HSLhsl(64, 47%, 48%)
HSVhsv(64, 64%, 71%)
CMYKcmyk(3.9%, 0%, 63.5%, 29%)
CIE-LABlab(71.17, -17.49, 55.75)
CIE-LCHlch(71.17, 58.43, 107.42°)
OKLaboklab(74.55% -0.0527 0.1266)
OKLCHoklch(74.55% 0.137 112.6)
XYZxyz(34.9637, 42.4405, 11.5032)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB542 #4942B5
analogous
#B58242 #AEB542 #74B542
triadic
#AEB542 #42AEB5 #B542AE
tetradic
#AEB542 #42B582 #4942B5 #B54274
square
#AEB542 #42B582 #4942B5 #B54274
split-complementary
#AEB542 #4274B5 #8242B5
monochromatic
#585B21 #838832 #AEB542 #C3C96B #D5D998

Accessibility & contrast

On white

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

On black

9.49
#AEB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB542
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB542#FFFFFF#000000##000000
##AEB5421.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C2B04A
Tritanopia (blue-blind)
#B9AB9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aeb542;
/* rgb */ color: rgb(174, 181, 66);
/* oklch */ color: oklch(74.5% 0.137 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9cb7c',
    500: '#aeb542',
    950: '#000000',
  },
}
SCSS
$custom: #aeb542;
$custom-light: #c9cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb542",
  "rgb": {
    "r": 174,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 63.652,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74547,
    "c": 0.13717,
    "h": 112.6
  },
  "luminance": 0.4244
}

Semantic roles & 50–950 ramp

primary
#AEB542
secondary
#918EC5
accent
#52D65A
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB542

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

Preview Lab → · Contrast checker → · Palette generator →

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