#AEA040#AEA040

#AEA040 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.117 H 101.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AEA040
RGBrgb(174, 160, 64)
HSLhsl(52, 46%, 47%)
HSVhsv(52, 63%, 68%)
CMYKcmyk(0%, 8%, 63.2%, 31.8%)
CIE-LABlab(65.37, -6.72, 50.41)
CIE-LCHlch(65.37, 50.86, 97.59°)
OKLaboklab(69.91% -0.0224 0.1151)
OKLCHoklch(69.91% 0.117 101)
XYZxyz(30.9530, 34.5117, 9.8805)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA040 #404EAE
analogous
#AE6940 #AEA040 #85AE40
triadic
#AEA040 #40AEA0 #A040AE
tetradic
#AEA040 #40AE69 #404EAE #AE4085
square
#AEA040 #40AE69 #404EAE #AE4085
split-complementary
#AEA040 #4085AE #6940AE
monochromatic
#554E1F #817730 #AEA040 #C6BA65 #D7CE92

Accessibility & contrast

On white

2.66
#AEA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AEA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA040
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA040#FFFFFF#000000##000000
##AEA0401.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B2A145
Tritanopia (blue-blind)
#BB958C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aea040;
/* rgb */ color: rgb(174, 160, 64);
/* oklch */ color: oklch(69.9% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#c9bb79',
    500: '#aea040',
    950: '#000000',
  },
}
SCSS
$custom: #aea040;
$custom-light: #c9bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#aea040",
  "rgb": {
    "r": 174,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 52.364,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69914,
    "c": 0.11721,
    "h": 101
  },
  "luminance": 0.3451
}

Semantic roles & 50–950 ramp

primary
#AEA040
secondary
#888FC2
accent
#63D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141109
muted
#82807B

Preview Lab

Preview with #AEA040

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

Preview Lab → · Contrast checker → · Palette generator →

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