#AEAB28#AEAB28

#AEAB28 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.1% C 0.144 H 108.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AEAB28
RGBrgb(174, 171, 40)
HSLhsl(59, 63%, 42%)
HSVhsv(59, 77%, 68%)
CMYKcmyk(0%, 1.7%, 77%, 31.8%)
CIE-LABlab(68.23, -13.75, 62.55)
CIE-LCHlch(68.23, 64.04, 102.40°)
OKLaboklab(72.14% -0.0448 0.1366)
OKLCHoklch(72.14% 0.144 108.2)
XYZxyz(32.4028, 38.2788, 7.6888)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAB28 #282BAE
analogous
#AE6828 #AEAB28 #6EAE28
triadic
#AEAB28 #28AEAB #AB28AE
tetradic
#AEAB28 #28AE68 #282BAE #AE286E
square
#AEAB28 #28AE68 #282BAE #AE286E
split-complementary
#AEAB28 #286EAE #6828AE
monochromatic
#4A4911 #7C7A1D #AEAB28 #D3D040 #DFDC72

Accessibility & contrast

On white

2.43
#AEAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#AEAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAB28
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAB28#FFFFFF#000000##000000
##AEAB281.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA404
Deuteranopia (green-blind)
#BCA833
Tritanopia (blue-blind)
#BB9F93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aeab28;
/* rgb */ color: rgb(174, 171, 40);
/* oklch */ color: oklch(72.1% 0.144 108.2);
Tailwind
colors: {
  custom: {
    50: '#cac36d',
    500: '#aeab28',
    950: '#000000',
  },
}
SCSS
$custom: #aeab28;
$custom-light: #cac36d;
$custom-dark: #000000;
JSON
{
  "hex": "#aeab28",
  "rgb": {
    "r": 174,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 58.657,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.14372,
    "h": 108.2
  },
  "luminance": 0.38278
}

Semantic roles & 50–950 ramp

primary
#AEAB28
secondary
#6C6EC6
accent
#46E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AEAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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