#AEA242#AEA242

#AEA242 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.117 H 102.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AEA242
RGBrgb(174, 162, 66)
HSLhsl(53, 45%, 47%)
HSVhsv(53, 62%, 68%)
CMYKcmyk(0%, 6.9%, 62.1%, 31.8%)
CIE-LABlab(65.93, -7.65, 50.12)
CIE-LCHlch(65.93, 50.70, 98.67°)
OKLaboklab(70.37% -0.0248 0.1147)
OKLCHoklch(70.37% 0.117 102.2)
XYZxyz(31.3604, 35.2339, 10.3021)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA242 #424EAE
analogous
#AE6C42 #AEA242 #84AE42
triadic
#AEA242 #42AEA2 #A242AE
tetradic
#AEA242 #42AE6C #424EAE #AE4284
square
#AEA242 #42AE6C #424EAE #AE4284
split-complementary
#AEA242 #4284AE #6C42AE
monochromatic
#554F20 #827931 #AEA242 #C6BB68 #D6CF94

Accessibility & contrast

On white

2.61
#AEA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AEA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA242
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA242#FFFFFF#000000##000000
##AEA2421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B4A347
Tritanopia (blue-blind)
#BA978D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea242;
/* rgb */ color: rgb(174, 162, 66);
/* oklch */ color: oklch(70.4% 0.117 102.2);
Tailwind
colors: {
  custom: {
    50: '#c9bd7a',
    500: '#aea242',
    950: '#000000',
  },
}
SCSS
$custom: #aea242;
$custom-light: #c9bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aea242",
  "rgb": {
    "r": 174,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 53.333,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.11738,
    "h": 102.2
  },
  "luminance": 0.35233
}

Semantic roles & 50–950 ramp

primary
#AEA242
secondary
#8A90C2
accent
#62D553
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AEA242

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

Preview Lab → · Contrast checker → · Palette generator →

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