#AEA151#AEA151

#AEA151 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.103 H 100.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AEA151
RGBrgb(174, 161, 81)
HSLhsl(52, 36%, 50%)
HSVhsv(52, 53%, 68%)
CMYKcmyk(0%, 7.5%, 53.4%, 31.8%)
CIE-LABlab(65.81, -5.95, 42.87)
CIE-LCHlch(65.81, 43.28, 97.90°)
OKLaboklab(70.33% -0.0182 0.101)
OKLCHoklch(70.33% 0.103 100.2)
XYZxyz(31.6867, 35.0837, 12.8857)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA151 #515EAE
analogous
#AE7351 #AEA151 #8CAE51
triadic
#AEA151 #51AEA1 #A151AE
tetradic
#AEA151 #51AE73 #515EAE #AE518C
square
#AEA151 #51AE73 #515EAE #AE518C
split-complementary
#AEA151 #518CAE #7351AE
monochromatic
#5A542A #847A3E #AEA151 #C1B87B #D5CEA5

Accessibility & contrast

On white

2.62
#AEA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AEA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA151
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA151#FFFFFF#000000##000000
##AEA1511.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#B2A255
Tritanopia (blue-blind)
#BA978F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea151;
/* rgb */ color: rgb(174, 161, 81);
/* oklch */ color: oklch(70.3% 0.103 100.2);
Tailwind
colors: {
  custom: {
    50: '#c8bc84',
    500: '#aea151',
    950: '#000000',
  },
}
SCSS
$custom: #aea151;
$custom-light: #c8bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#aea151",
  "rgb": {
    "r": 174,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 51.613,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.10258,
    "h": 100.2
  },
  "luminance": 0.35082
}

Semantic roles & 50–950 ramp

primary
#AEA151
secondary
#999EC2
accent
#6BCC5B
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AEA151

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

Preview Lab → · Contrast checker → · Palette generator →

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