#AEB128#AEB128

#AEB128 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.150 H 110.9°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AEB128
RGBrgb(174, 177, 40)
HSLhsl(61, 63%, 43%)
HSVhsv(61, 77%, 69%)
CMYKcmyk(1.7%, 0%, 77.4%, 30.6%)
CIE-LABlab(69.89, -16.82, 64.06)
CIE-LCHlch(69.89, 66.23, 104.71°)
OKLaboklab(73.47% -0.0533 0.1398)
OKLCHoklch(73.47% 0.15 110.9)
XYZxyz(33.5619, 40.5971, 8.0752)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB128 #2B28B1
analogous
#B17028 #AEB128 #69B128
triadic
#AEB128 #28AEB1 #B128AE
tetradic
#AEB128 #28B170 #2B28B1 #B12869
square
#AEB128 #28B170 #2B28B1 #B12869
split-complementary
#AEB128 #2869B1 #7028B1
monochromatic
#4C4D11 #7D7F1D #AEB128 #D1D442 #DDE074

Accessibility & contrast

On white

2.30
#AEB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#AEB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB128
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB128#FFFFFF#000000##000000
##AEB1281.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C0AD34
Tritanopia (blue-blind)
#BAA698
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aeb128;
/* rgb */ color: rgb(174, 177, 40);
/* oklch */ color: oklch(73.5% 0.150 110.9);
Tailwind
colors: {
  custom: {
    50: '#cac86e',
    500: '#aeb128',
    950: '#000000',
  },
}
SCSS
$custom: #aeb128;
$custom-light: #cac86e;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb128",
  "rgb": {
    "r": 174,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 61.314,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73469,
    "c": 0.14961,
    "h": 110.9
  },
  "luminance": 0.40596
}

Semantic roles & 50–950 ramp

primary
#AEB128
secondary
#706EC7
accent
#42E645
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB128

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

Preview Lab → · Contrast checker → · Palette generator →

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