#AE9C28#AE9C28

#AE9C28 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.9% C 0.130 H 100.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AE9C28
RGBrgb(174, 156, 40)
HSLhsl(52, 63%, 42%)
HSVhsv(52, 77%, 68%)
CMYKcmyk(0%, 10.3%, 77%, 31.8%)
CIE-LABlab(64.10, -5.88, 58.77)
CIE-LCHlch(64.10, 59.06, 95.71°)
OKLaboklab(68.86% -0.0227 0.1285)
OKLCHoklch(68.86% 0.13 100)
XYZxyz(29.7285, 32.9302, 6.7973)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE9C28 #283AAE
analogous
#AE5928 #AE9C28 #7DAE28
triadic
#AE9C28 #28AE9C #9C28AE
tetradic
#AE9C28 #28AE59 #283AAE #AE287D
square
#AE9C28 #28AE59 #283AAE #AE287D
split-complementary
#AE9C28 #287DAE #5928AE
monochromatic
#4A4311 #7C6F1D #AE9C28 #D3BF40 #DFD072

Accessibility & contrast

On white

2.77
#AE9C28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AE9C28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE9C28
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE9C28#FFFFFF#000000##000000
##AE9C281.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980F
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#BC9086
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae9c28;
/* rgb */ color: rgb(174, 156, 40);
/* oklch */ color: oklch(68.9% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#cab86b',
    500: '#ae9c28',
    950: '#000000',
  },
}
SCSS
$custom: #ae9c28;
$custom-light: #cab86b;
$custom-dark: #000000;
JSON
{
  "hex": "#ae9c28",
  "rgb": {
    "r": 174,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 51.94,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68857,
    "c": 0.13049,
    "h": 100
  },
  "luminance": 0.32929
}

Semantic roles & 50–950 ramp

primary
#AE9C28
secondary
#6C78C6
accent
#58E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AE9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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