#AEA252#AEA252

#AEA252 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.103 H 100.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AEA252
RGBrgb(174, 162, 82)
HSLhsl(52, 36%, 50%)
HSVhsv(52, 53%, 68%)
CMYKcmyk(0%, 6.9%, 52.9%, 31.8%)
CIE-LABlab(66.10, -6.40, 42.70)
CIE-LCHlch(66.10, 43.18, 98.52°)
OKLaboklab(70.55% -0.0194 0.1007)
OKLCHoklch(70.55% 0.103 100.9)
XYZxyz(31.8999, 35.4497, 13.1431)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA252 #525EAE
analogous
#AE7452 #AEA252 #8CAE52
triadic
#AEA252 #52AEA2 #A252AE
tetradic
#AEA252 #52AE74 #525EAE #AE528C
square
#AEA252 #52AE74 #525EAE #AE528C
split-complementary
#AEA252 #528CAE #7452AE
monochromatic
#5B552B #857B3E #AEA252 #C2B87C #D5CFA5

Accessibility & contrast

On white

2.60
#AEA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AEA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA252
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA252#FFFFFF#000000##000000
##AEA2521.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4B
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#BA9890
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aea252;
/* rgb */ color: rgb(174, 162, 82);
/* oklch */ color: oklch(70.6% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#c8bd85',
    500: '#aea252',
    950: '#000000',
  },
}
SCSS
$custom: #aea252;
$custom-light: #c8bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#aea252",
  "rgb": {
    "r": 174,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 52.174,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.10255,
    "h": 100.9
  },
  "luminance": 0.35449
}

Semantic roles & 50–950 ramp

primary
#AEA252
secondary
#999FC2
accent
#6ACC5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AEA252

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

Preview Lab → · Contrast checker → · Palette generator →

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