#AE9927#AE9927

#AE9927 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.2% C 0.129 H 98.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AE9927
RGBrgb(174, 153, 39)
HSLhsl(51, 63%, 42%)
HSVhsv(51, 78%, 68%)
CMYKcmyk(0%, 12.1%, 77.6%, 31.8%)
CIE-LABlab(63.28, -4.31, 58.36)
CIE-LCHlch(63.28, 58.52, 94.22°)
OKLaboklab(68.21% -0.0183 0.1274)
OKLCHoklch(68.21% 0.129 98.2)
XYZxyz(29.2145, 31.9291, 6.5432)
Luminance0.3193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE9927 #273CAE
analogous
#AE5627 #AE9927 #80AE27
triadic
#AE9927 #27AE99 #9927AE
tetradic
#AE9927 #27AE56 #273CAE #AE2780
square
#AE9927 #27AE56 #273CAE #AE2780
split-complementary
#AE9927 #2780AE #5627AE
monochromatic
#4A4111 #7C6D1C #AE9927 #D4BD3E #DFCE70

Accessibility & contrast

On white

2.84
#AE9927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AE9927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE9927
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE9927#FFFFFF#000000##000000
##AE99271.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#BC8D83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae9927;
/* rgb */ color: rgb(174, 153, 39);
/* oklch */ color: oklch(68.2% 0.129 98.2);
Tailwind
colors: {
  custom: {
    50: '#cab66b',
    500: '#ae9927',
    950: '#000000',
  },
}
SCSS
$custom: #ae9927;
$custom-light: #cab66b;
$custom-dark: #000000;
JSON
{
  "hex": "#ae9927",
  "rgb": {
    "r": 174,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 50.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68205,
    "c": 0.12873,
    "h": 98.2
  },
  "luminance": 0.31928
}

Semantic roles & 50–950 ramp

primary
#AE9927
secondary
#6B79C6
accent
#5BE641
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AE9927

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

Preview Lab → · Contrast checker → · Palette generator →

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