#AEB928#AEB928

#AEB928 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.3% C 0.158 H 114.1°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#AEB928
RGBrgb(174, 185, 40)
HSLhsl(65, 64%, 44%)
HSVhsv(65, 78%, 73%)
CMYKcmyk(5.9%, 0%, 78.4%, 27.5%)
CIE-LABlab(72.13, -20.84, 66.08)
CIE-LCHlch(72.13, 69.28, 107.50°)
OKLaboklab(75.26% -0.0644 0.1441)
OKLCHoklch(75.26% 0.158 114.1)
XYZxyz(35.1886, 43.8505, 8.6174)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB928 #3328B9
analogous
#B97C28 #AEB928 #66B928
triadic
#AEB928 #28AEB9 #B928AE
tetradic
#AEB928 #28B97C #3328B9 #B92866
square
#AEB928 #28B97C #3328B9 #B92866
split-complementary
#AEB928 #2866B9 #7C28B9
monochromatic
#4F5412 #7F871D #AEB928 #CCD747 #DAE279

Accessibility & contrast

On white

2.15
#AEB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#AEB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB928
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB928#FFFFFF#000000##000000
##AEB9281.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C7B236
Tritanopia (blue-blind)
#BAAE9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aeb928;
/* rgb */ color: rgb(174, 185, 40);
/* oklch */ color: oklch(75.3% 0.158 114.1);
Tailwind
colors: {
  custom: {
    50: '#cacd6f',
    500: '#aeb928',
    950: '#000000',
  },
}
SCSS
$custom: #aeb928;
$custom-light: #cacd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb928",
  "rgb": {
    "r": 174,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 64.552,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7526,
    "c": 0.15785,
    "h": 114.1
  },
  "luminance": 0.4385
}

Semantic roles & 50–950 ramp

primary
#AEB928
secondary
#7973CA
accent
#40E74D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB928

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

Preview Lab → · Contrast checker → · Palette generator →

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