#AEB828#AEB828

#AEB828 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.0% C 0.157 H 113.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#AEB828
RGBrgb(174, 184, 40)
HSLhsl(64, 64%, 44%)
HSVhsv(64, 78%, 72%)
CMYKcmyk(5.4%, 0%, 78.3%, 27.8%)
CIE-LABlab(71.85, -20.34, 65.83)
CIE-LCHlch(71.85, 68.90, 107.17°)
OKLaboklab(75.04% -0.0631 0.1436)
OKLCHoklch(75.04% 0.157 113.7)
XYZxyz(34.9802, 43.4336, 8.5479)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB828 #3228B8
analogous
#B87A28 #AEB828 #66B828
triadic
#AEB828 #28AEB8 #B828AE
tetradic
#AEB828 #28B87A #3228B8 #B82866
square
#AEB828 #28B87A #3228B8 #B82866
split-complementary
#AEB828 #2866B8 #7A28B8
monochromatic
#4F5312 #7E861D #AEB828 #CDD746 #DAE279

Accessibility & contrast

On white

2.17
#AEB828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#AEB828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB828
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB828#FFFFFF#000000##000000
##AEB8281.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B135
Tritanopia (blue-blind)
#BAAD9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aeb828;
/* rgb */ color: rgb(174, 184, 40);
/* oklch */ color: oklch(75.0% 0.157 113.7);
Tailwind
colors: {
  custom: {
    50: '#cacd6f',
    500: '#aeb828',
    950: '#000000',
  },
}
SCSS
$custom: #aeb828;
$custom-light: #cacd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb828",
  "rgb": {
    "r": 174,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 64.167,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75035,
    "c": 0.1568,
    "h": 113.7
  },
  "luminance": 0.43433
}

Semantic roles & 50–950 ramp

primary
#AEB828
secondary
#7872CA
accent
#41E74C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB828

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

Preview Lab → · Contrast checker → · Palette generator →

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