#AE8F21#AE8F21

#AE8F21 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 66.0% C 0.125 H 91.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AE8F21
RGBrgb(174, 143, 33)
HSLhsl(47, 68%, 41%)
HSVhsv(47, 81%, 68%)
CMYKcmyk(0%, 17.8%, 81%, 31.8%)
CIE-LABlab(60.56, 0.90, 57.91)
CIE-LCHlch(60.56, 57.92, 89.11°)
OKLaboklab(66.04% -0.0041 0.1252)
OKLCHoklch(66.04% 0.125 91.9)
XYZxyz(27.5542, 28.7551, 5.5375)
Luminance0.2875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8F21 #2140AE
analogous
#AE4921 #AE8F21 #86AE21
triadic
#AE8F21 #21AE8F #8F21AE
tetradic
#AE8F21 #21AE49 #2140AE #AE2186
square
#AE8F21 #21AE49 #2140AE #AE2186
split-complementary
#AE8F21 #2186AE #4921AE
monochromatic
#473A0D #7B6517 #AE8F21 #D8B434 #E2C767

Accessibility & contrast

On white

3.11
#AE8F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AE8F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE8F21
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8F21#FFFFFF#000000##000000
##AE8F211.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#A79628
Tritanopia (blue-blind)
#BD827B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae8f21;
/* rgb */ color: rgb(174, 143, 33);
/* oklch */ color: oklch(66.0% 0.125 91.9);
Tailwind
colors: {
  custom: {
    50: '#cbaf67',
    500: '#ae8f21',
    950: '#000000',
  },
}
SCSS
$custom: #ae8f21;
$custom-light: #cbaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8f21",
  "rgb": {
    "r": 174,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 46.809,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.12527,
    "h": 91.9
  },
  "luminance": 0.28753
}

Semantic roles & 50–950 ramp

primary
#AE8F21
secondary
#6379C8
accent
#63EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AE8F21

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

Preview Lab → · Contrast checker → · Palette generator →

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