#AEAB42#AEAB42

#AEAB42 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.126 H 107.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AEAB42
RGBrgb(174, 171, 66)
HSLhsl(58, 45%, 47%)
HSVhsv(58, 62%, 68%)
CMYKcmyk(0%, 1.7%, 62.1%, 31.8%)
CIE-LABlab(68.40, -12.37, 52.80)
CIE-LCHlch(68.40, 54.23, 103.18°)
OKLaboklab(72.33% -0.0382 0.1204)
OKLCHoklch(72.33% 0.126 107.6)
XYZxyz(33.0029, 38.5188, 10.8496)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAB42 #4245AE
analogous
#AE7542 #AEAB42 #7BAE42
triadic
#AEAB42 #42AEAB #AB42AE
tetradic
#AEAB42 #42AE75 #4245AE #AE427B
square
#AEAB42 #42AE75 #4245AE #AE427B
split-complementary
#AEAB42 #427BAE #7542AE
monochromatic
#555420 #827F31 #AEAB42 #C6C368 #D6D594

Accessibility & contrast

On white

2.41
#AEAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AEAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAB42
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAB42#FFFFFF#000000##000000
##AEAB421.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A535
Deuteranopia (green-blind)
#BAA948
Tritanopia (blue-blind)
#BAA095
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aeab42;
/* rgb */ color: rgb(174, 171, 66);
/* oklch */ color: oklch(72.3% 0.126 107.6);
Tailwind
colors: {
  custom: {
    50: '#c9c37b',
    500: '#aeab42',
    950: '#000000',
  },
}
SCSS
$custom: #aeab42;
$custom-light: #c9c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#aeab42",
  "rgb": {
    "r": 174,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 58.333,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72333,
    "c": 0.12633,
    "h": 107.6
  },
  "luminance": 0.38518
}

Semantic roles & 50–950 ramp

primary
#AEAB42
secondary
#8A8BC2
accent
#57D553
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AEAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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