#AEB228#AEB228

#AEB228 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.151 H 111.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#AEB228
RGBrgb(174, 178, 40)
HSLhsl(62, 63%, 43%)
HSVhsv(62, 78%, 70%)
CMYKcmyk(2.2%, 0%, 77.5%, 30.2%)
CIE-LABlab(70.17, -17.33, 64.31)
CIE-LCHlch(70.17, 66.61, 105.08°)
OKLaboklab(73.69% -0.0547 0.1403)
OKLCHoklch(73.69% 0.151 111.3)
XYZxyz(33.7601, 40.9936, 8.1412)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB228 #2C28B2
analogous
#B27128 #AEB228 #69B228
triadic
#AEB228 #28AEB2 #B228AE
tetradic
#AEB228 #28B271 #2C28B2 #B22869
square
#AEB228 #28B271 #2C28B2 #B22869
split-complementary
#AEB228 #2869B2 #7128B2
monochromatic
#4C4E12 #7D801D #AEB228 #D0D543 #DDE075

Accessibility & contrast

On white

2.28
#AEB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#AEB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB228
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB228#FFFFFF#000000##000000
##AEB2281.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#BAA798
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb228;
/* rgb */ color: rgb(174, 178, 40);
/* oklch */ color: oklch(73.7% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#cac86e',
    500: '#aeb228',
    950: '#000000',
  },
}
SCSS
$custom: #aeb228;
$custom-light: #cac86e;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb228",
  "rgb": {
    "r": 174,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 61.739,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73692,
    "c": 0.15062,
    "h": 111.3
  },
  "luminance": 0.40993
}

Semantic roles & 50–950 ramp

primary
#AEB228
secondary
#716FC7
accent
#41E646
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB228

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

Preview Lab → · Contrast checker → · Palette generator →

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