#AE8C21#AE8C21

#AE8C21 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.4% C 0.124 H 89.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AE8C21
RGBrgb(174, 140, 33)
HSLhsl(46, 68%, 41%)
HSVhsv(46, 81%, 68%)
CMYKcmyk(0%, 19.5%, 81%, 31.8%)
CIE-LABlab(59.77, 2.54, 57.20)
CIE-LCHlch(59.77, 57.26, 87.45°)
OKLaboklab(65.42% 0.0006 0.1237)
OKLCHoklch(65.42% 0.124 89.7)
XYZxyz(27.1098, 27.8664, 5.3894)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8C21 #2143AE
analogous
#AE4521 #AE8C21 #89AE21
triadic
#AE8C21 #21AE8C #8C21AE
tetradic
#AE8C21 #21AE45 #2143AE #AE2189
square
#AE8C21 #21AE45 #2143AE #AE2189
split-complementary
#AE8C21 #2189AE #4521AE
monochromatic
#47390D #7B6317 #AE8C21 #D8B134 #E2C567

Accessibility & contrast

On white

3.19
#AE8C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AE8C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE8C21
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8C21#FFFFFF#000000##000000
##AE8C211.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B06
Deuteranopia (green-blind)
#A59428
Tritanopia (blue-blind)
#BD7F78
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ae8c21;
/* rgb */ color: rgb(174, 140, 33);
/* oklch */ color: oklch(65.4% 0.124 89.7);
Tailwind
colors: {
  custom: {
    50: '#cbad66',
    500: '#ae8c21',
    950: '#000000',
  },
}
SCSS
$custom: #ae8c21;
$custom-light: #cbad66;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8c21",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 45.532,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.12367,
    "h": 89.7
  },
  "luminance": 0.27865
}

Semantic roles & 50–950 ramp

primary
#AE8C21
secondary
#637BC8
accent
#67EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AE8C21

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

Preview Lab → · Contrast checker → · Palette generator →

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