#AEA540#AEA540

#AEA540 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.122 H 104.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AEA540
RGBrgb(174, 165, 64)
HSLhsl(55, 46%, 47%)
HSVhsv(55, 63%, 68%)
CMYKcmyk(0%, 5.2%, 63.2%, 31.8%)
CIE-LABlab(66.73, -9.37, 51.88)
CIE-LCHlch(66.73, 52.72, 100.23°)
OKLaboklab(71% -0.0299 0.1182)
OKLCHoklch(71% 0.122 104.2)
XYZxyz(31.8373, 36.2803, 10.1752)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA540 #4049AE
analogous
#AE6E40 #AEA540 #80AE40
triadic
#AEA540 #40AEA5 #A540AE
tetradic
#AEA540 #40AE6E #4049AE #AE4080
square
#AEA540 #40AE6E #4049AE #AE4080
split-complementary
#AEA540 #4080AE #6E40AE
monochromatic
#55501F #817B30 #AEA540 #C6BE65 #D7D192

Accessibility & contrast

On white

2.54
#AEA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#AEA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA540
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA540#FFFFFF#000000##000000
##AEA5401.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#BA9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aea540;
/* rgb */ color: rgb(174, 165, 64);
/* oklch */ color: oklch(71.0% 0.122 104.2);
Tailwind
colors: {
  custom: {
    50: '#c9bf79',
    500: '#aea540',
    950: '#000000',
  },
}
SCSS
$custom: #aea540;
$custom-light: #c9bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#aea540",
  "rgb": {
    "r": 174,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 55.091,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71,
    "c": 0.12191,
    "h": 104.2
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#AEA540
secondary
#888DC2
accent
#5DD652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AEA540

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

Preview Lab → · Contrast checker → · Palette generator →

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