#AEA940#AEA940

#AEA940 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.9% C 0.126 H 106.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AEA940
RGBrgb(174, 169, 64)
HSLhsl(57, 46%, 47%)
HSVhsv(57, 63%, 68%)
CMYKcmyk(0%, 2.9%, 63.2%, 31.8%)
CIE-LABlab(67.83, -11.46, 53.06)
CIE-LCHlch(67.83, 54.28, 102.19°)
OKLaboklab(71.88% -0.0359 0.1207)
OKLCHoklch(71.88% 0.126 106.6)
XYZxyz(32.5701, 37.7458, 10.4195)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA940 #4045AE
analogous
#AE7240 #AEA940 #7CAE40
triadic
#AEA940 #40AEA9 #A940AE
tetradic
#AEA940 #40AE72 #4045AE #AE407C
square
#AEA940 #40AE72 #4045AE #AE407C
split-complementary
#AEA940 #407CAE #7240AE
monochromatic
#55521F #817E30 #AEA940 #C6C265 #D7D492

Accessibility & contrast

On white

2.46
#AEA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AEA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA940
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA940#FFFFFF#000000##000000
##AEA9401.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B9A746
Tritanopia (blue-blind)
#BA9E93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aea940;
/* rgb */ color: rgb(174, 169, 64);
/* oklch */ color: oklch(71.9% 0.126 106.6);
Tailwind
colors: {
  custom: {
    50: '#c9c27a',
    500: '#aea940',
    950: '#000000',
  },
}
SCSS
$custom: #aea940;
$custom-light: #c9c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#aea940",
  "rgb": {
    "r": 174,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 57.273,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.12589,
    "h": 106.6
  },
  "luminance": 0.37745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AEA940

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

Preview Lab → · Contrast checker → · Palette generator →

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