#AEA627#AEA627

#AEA627 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.0% C 0.140 H 105.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AEA627
RGBrgb(174, 166, 39)
HSLhsl(56, 63%, 42%)
HSVhsv(56, 78%, 68%)
CMYKcmyk(0%, 4.6%, 77.6%, 31.8%)
CIE-LABlab(66.84, -11.20, 61.61)
CIE-LCHlch(66.84, 62.62, 100.30°)
OKLaboklab(71.03% -0.0377 0.1344)
OKLCHoklch(71.03% 0.14 105.7)
XYZxyz(31.4593, 36.4188, 7.2915)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA627 #272FAE
analogous
#AE6227 #AEA627 #73AE27
triadic
#AEA627 #27AEA6 #A627AE
tetradic
#AEA627 #27AE62 #272FAE #AE2773
square
#AEA627 #27AE62 #272FAE #AE2773
split-complementary
#AEA627 #2773AE #6227AE
monochromatic
#4A4711 #7C761C #AEA627 #D4CB3E #DFD870

Accessibility & contrast

On white

2.54
#AEA627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AEA627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA627
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA627#FFFFFF#000000##000000
##AEA6271.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#BB9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aea627;
/* rgb */ color: rgb(174, 166, 39);
/* oklch */ color: oklch(71.0% 0.140 105.7);
Tailwind
colors: {
  custom: {
    50: '#cac06c',
    500: '#aea627',
    950: '#000000',
  },
}
SCSS
$custom: #aea627;
$custom-light: #cac06c;
$custom-dark: #000000;
JSON
{
  "hex": "#aea627",
  "rgb": {
    "r": 174,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 56.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71029,
    "c": 0.13956,
    "h": 105.7
  },
  "luminance": 0.36418
}

Semantic roles & 50–950 ramp

primary
#AEA627
secondary
#6B70C6
accent
#4BE641
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #AEA627

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

Preview Lab → · Contrast checker → · Palette generator →

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