#AEB728#AEB728

#AEB728 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.156 H 113.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#AEB728
RGBrgb(174, 183, 40)
HSLhsl(64, 64%, 44%)
HSVhsv(64, 78%, 72%)
CMYKcmyk(4.9%, 0%, 78.1%, 28.2%)
CIE-LABlab(71.57, -19.84, 65.57)
CIE-LCHlch(71.57, 68.51, 106.84°)
OKLaboklab(74.81% -0.0617 0.143)
OKLCHoklch(74.81% 0.156 113.3)
XYZxyz(34.7732, 43.0196, 8.4789)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB728 #3128B7
analogous
#B77828 #AEB728 #66B728
triadic
#AEB728 #28AEB7 #B728AE
tetradic
#AEB728 #28B778 #3128B7 #B72866
square
#AEB728 #28B778 #3128B7 #B72866
split-complementary
#AEB728 #2866B7 #7828B7
monochromatic
#4E5312 #7E851D #AEB728 #CDD646 #DBE178

Accessibility & contrast

On white

2.19
#AEB728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#AEB728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB728
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB728#FFFFFF#000000##000000
##AEB7281.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#BAAC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aeb728;
/* rgb */ color: rgb(174, 183, 40);
/* oklch */ color: oklch(74.8% 0.156 113.3);
Tailwind
colors: {
  custom: {
    50: '#cacc6f',
    500: '#aeb728',
    950: '#000000',
  },
}
SCSS
$custom: #aeb728;
$custom-light: #cacc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb728",
  "rgb": {
    "r": 174,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 63.776,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74811,
    "c": 0.15576,
    "h": 113.3
  },
  "luminance": 0.43019
}

Semantic roles & 50–950 ramp

primary
#AEB728
secondary
#7772C9
accent
#41E74B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB728

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

Preview Lab → · Contrast checker → · Palette generator →

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