#AEA828#AEA828

#AEA828 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.141 H 106.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AEA828
RGBrgb(174, 168, 40)
HSLhsl(57, 63%, 42%)
HSVhsv(57, 77%, 68%)
CMYKcmyk(0%, 3.4%, 77%, 31.8%)
CIE-LABlab(67.40, -12.20, 61.79)
CIE-LCHlch(67.40, 62.99, 101.17°)
OKLaboklab(71.47% -0.0404 0.1349)
OKLCHoklch(71.47% 0.141 106.7)
XYZxyz(31.8425, 37.1583, 7.5020)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA828 #282EAE
analogous
#AE6528 #AEA828 #71AE28
triadic
#AEA828 #28AEA8 #A828AE
tetradic
#AEA828 #28AE65 #282EAE #AE2871
square
#AEA828 #28AE65 #282EAE #AE2871
split-complementary
#AEA828 #2871AE #6528AE
monochromatic
#4A4811 #7C781D #AEA828 #D3CD40 #DFDA72

Accessibility & contrast

On white

2.49
#AEA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AEA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA828
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA828#FFFFFF#000000##000000
##AEA8281.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A106
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#BB9C90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aea828;
/* rgb */ color: rgb(174, 168, 40);
/* oklch */ color: oklch(71.5% 0.141 106.7);
Tailwind
colors: {
  custom: {
    50: '#cac16d',
    500: '#aea828',
    950: '#000000',
  },
}
SCSS
$custom: #aea828;
$custom-light: #cac16d;
$custom-dark: #000000;
JSON
{
  "hex": "#aea828",
  "rgb": {
    "r": 174,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 57.313,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.14088,
    "h": 106.7
  },
  "luminance": 0.37157
}

Semantic roles & 50–950 ramp

primary
#AEA828
secondary
#6C70C6
accent
#49E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AEA828

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

Preview Lab → · Contrast checker → · Palette generator →

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