#AEB902#AEB902

#AEB902 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.169 H 114.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#AEB902
RGBrgb(174, 185, 2)
HSLhsl(64, 98%, 37%)
HSVhsv(64, 99%, 73%)
CMYKcmyk(5.9%, 0%, 98.9%, 27.5%)
CIE-LABlab(72.03, -21.68, 72.98)
CIE-LCHlch(72.03, 76.13, 106.54°)
OKLaboklab(75.15% -0.0686 0.154)
OKLCHoklch(75.15% 0.169 114)
XYZxyz(34.8167, 43.7017, 6.6586)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB902 #0D02B9
analogous
#B96902 #AEB902 #52B902
triadic
#AEB902 #02AEB9 #B902AE
tetradic
#AEB902 #02B969 #0D02B9 #B90252
square
#AEB902 #02B969 #0D02B9 #B90252
split-complementary
#AEB902 #0252B9 #6902B9
monochromatic
#3C4001 #757C01 #AEB902 #E7F603 #F1FD39

Accessibility & contrast

On white

2.16
#AEB902 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#AEB902 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB902
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB902#FFFFFF#000000##000000
##AEB9021.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8AF00
Deuteranopia (green-blind)
#C7B223
Tritanopia (blue-blind)
#BBAD9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aeb902;
/* rgb */ color: rgb(174, 185, 2);
/* oklch */ color: oklch(75.1% 0.169 114.0);
Tailwind
colors: {
  custom: {
    50: '#cbcd65',
    500: '#aeb902',
    950: '#000000',
  },
}
SCSS
$custom: #aeb902;
$custom-light: #cbcd65;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb902",
  "rgb": {
    "r": 174,
    "g": 185,
    "b": 2
  },
  "hsl": {
    "h": 63.607,
    "s": 97.861,
    "l": 36.667
  },
  "oklch": {
    "l": 0.75148,
    "c": 0.16857,
    "h": 114
  },
  "luminance": 0.43701
}

Semantic roles & 50–950 ramp

primary
#AEB902
secondary
#463CDB
accent
#29FF36
background
#FDFCF6
surface
#FAF9EB
border
#D3D2C6
text
#141307
muted
#83827A

Preview Lab

Preview with #AEB902

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

Preview Lab → · Contrast checker → · Palette generator →

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