#AE9827#AE9827

#AE9827 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.128 H 97.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AE9827
RGBrgb(174, 152, 39)
HSLhsl(50, 63%, 42%)
HSVhsv(50, 78%, 68%)
CMYKcmyk(0%, 12.6%, 77.6%, 31.8%)
CIE-LABlab(63.01, -3.77, 58.11)
CIE-LCHlch(63.01, 58.23, 93.71°)
OKLaboklab(67.99% -0.0168 0.1269)
OKLCHoklch(67.99% 0.128 97.5)
XYZxyz(29.0515, 31.6032, 6.4889)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE9827 #273DAE
analogous
#AE5527 #AE9827 #81AE27
triadic
#AE9827 #27AE98 #9827AE
tetradic
#AE9827 #27AE55 #273DAE #AE2781
square
#AE9827 #27AE55 #273DAE #AE2781
split-complementary
#AE9827 #2781AE #5527AE
monochromatic
#4A4111 #7C6C1C #AE9827 #D4BB3E #DFCD70

Accessibility & contrast

On white

2.87
#AE9827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AE9827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE9827
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE9827#FFFFFF#000000##000000
##AE98271.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#BC8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae9827;
/* rgb */ color: rgb(174, 152, 39);
/* oklch */ color: oklch(68.0% 0.128 97.5);
Tailwind
colors: {
  custom: {
    50: '#cab56b',
    500: '#ae9827',
    950: '#000000',
  },
}
SCSS
$custom: #ae9827;
$custom-light: #cab56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ae9827",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 50.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6799,
    "c": 0.128,
    "h": 97.5
  },
  "luminance": 0.31602
}

Semantic roles & 50–950 ramp

primary
#AE9827
secondary
#6B7AC6
accent
#5CE641
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AE9827

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

Preview Lab → · Contrast checker → · Palette generator →

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