#AEAA40#AEAA40

#AEAA40 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.1% C 0.127 H 107.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AEAA40
RGBrgb(174, 170, 64)
HSLhsl(58, 46%, 47%)
HSVhsv(58, 63%, 68%)
CMYKcmyk(0%, 2.3%, 63.2%, 31.8%)
CIE-LABlab(68.11, -11.98, 53.35)
CIE-LCHlch(68.11, 54.68, 102.66°)
OKLaboklab(72.09% -0.0374 0.1213)
OKLCHoklch(72.09% 0.127 107.1)
XYZxyz(32.7568, 38.1193, 10.4818)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAA40 #4044AE
analogous
#AE7340 #AEAA40 #7BAE40
triadic
#AEAA40 #40AEAA #AA40AE
tetradic
#AEAA40 #40AE73 #4044AE #AE407B
square
#AEAA40 #40AE73 #4044AE #AE407B
split-complementary
#AEAA40 #407BAE #7340AE
monochromatic
#55531F #817E30 #AEAA40 #C6C365 #D7D492

Accessibility & contrast

On white

2.44
#AEAA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AEAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAA40
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAA40#FFFFFF#000000##000000
##AEAA401.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#BA9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aeaa40;
/* rgb */ color: rgb(174, 170, 64);
/* oklch */ color: oklch(72.1% 0.127 107.1);
Tailwind
colors: {
  custom: {
    50: '#c9c37a',
    500: '#aeaa40',
    950: '#000000',
  },
}
SCSS
$custom: #aeaa40;
$custom-light: #c9c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaa40",
  "rgb": {
    "r": 174,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 57.818,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72094,
    "c": 0.12691,
    "h": 107.1
  },
  "luminance": 0.38118
}

Semantic roles & 50–950 ramp

primary
#AEAA40
secondary
#888AC2
accent
#57D652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AEAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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