#AE8B21#AE8B21

#AE8B21 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 65.2% C 0.123 H 89.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AE8B21
RGBrgb(174, 139, 33)
HSLhsl(45, 68%, 41%)
HSVhsv(45, 81%, 68%)
CMYKcmyk(0%, 20.1%, 81%, 31.8%)
CIE-LABlab(59.50, 3.09, 56.97)
CIE-LCHlch(59.50, 57.05, 86.89°)
OKLaboklab(65.21% 0.0021 0.1232)
OKLCHoklch(65.21% 0.123 89)
XYZxyz(26.9644, 27.5755, 5.3409)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8B21 #2144AE
analogous
#AE4421 #AE8B21 #8BAE21
triadic
#AE8B21 #21AE8B #8B21AE
tetradic
#AE8B21 #21AE44 #2144AE #AE218B
square
#AE8B21 #21AE44 #2144AE #AE218B
split-complementary
#AE8B21 #218BAE #4421AE
monochromatic
#47390D #7B6217 #AE8B21 #D8B034 #E2C467

Accessibility & contrast

On white

3.22
#AE8B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AE8B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE8B21
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8B21#FFFFFF#000000##000000
##AE8B211.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A06
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#BD7E77
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ae8b21;
/* rgb */ color: rgb(174, 139, 33);
/* oklch */ color: oklch(65.2% 0.123 89.0);
Tailwind
colors: {
  custom: {
    50: '#cbac66',
    500: '#ae8b21',
    950: '#000000',
  },
}
SCSS
$custom: #ae8b21;
$custom-light: #cbac66;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8b21",
  "rgb": {
    "r": 174,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 45.106,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.12318,
    "h": 89
  },
  "luminance": 0.27574
}

Semantic roles & 50–950 ramp

primary
#AE8B21
secondary
#637CC8
accent
#68EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AE8B21

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

Preview Lab → · Contrast checker → · Palette generator →

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