#AEA228#AEA228

#AEA228 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.135 H 103.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AEA228
RGBrgb(174, 162, 40)
HSLhsl(55, 63%, 42%)
HSVhsv(55, 77%, 68%)
CMYKcmyk(0%, 6.9%, 77%, 31.8%)
CIE-LABlab(65.74, -9.06, 60.28)
CIE-LCHlch(65.74, 60.96, 98.55°)
OKLaboklab(70.16% -0.0316 0.1317)
OKLCHoklch(70.16% 0.135 103.5)
XYZxyz(30.7603, 34.9938, 7.1413)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA228 #2834AE
analogous
#AE5F28 #AEA228 #77AE28
triadic
#AEA228 #28AEA2 #A228AE
tetradic
#AEA228 #28AE5F #2834AE #AE2877
square
#AEA228 #28AE5F #2834AE #AE2877
split-complementary
#AEA228 #2877AE #5F28AE
monochromatic
#4A4511 #7C741D #AEA228 #D3C640 #DFD572

Accessibility & contrast

On white

2.63
#AEA228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AEA228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA228
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA228#FFFFFF#000000##000000
##AEA2281.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0B
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#BB968B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea228;
/* rgb */ color: rgb(174, 162, 40);
/* oklch */ color: oklch(70.2% 0.135 103.5);
Tailwind
colors: {
  custom: {
    50: '#cabd6c',
    500: '#aea228',
    950: '#000000',
  },
}
SCSS
$custom: #aea228;
$custom-light: #cabd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aea228",
  "rgb": {
    "r": 174,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 54.627,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70159,
    "c": 0.13547,
    "h": 103.5
  },
  "luminance": 0.34993
}

Semantic roles & 50–950 ramp

primary
#AEA228
secondary
#6C74C6
accent
#51E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AEA228

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

Preview Lab → · Contrast checker → · Palette generator →

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