#AE9D31#AE9D31

#AE9D31 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.1% C 0.126 H 100.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#AE9D31
RGBrgb(174, 157, 49)
HSLhsl(52, 56%, 44%)
HSVhsv(52, 72%, 68%)
CMYKcmyk(0%, 9.8%, 71.8%, 31.8%)
CIE-LABlab(64.43, -6.00, 55.77)
CIE-LCHlch(64.43, 56.09, 96.14°)
OKLaboklab(69.13% -0.0221 0.1239)
OKLCHoklch(69.13% 0.126 100.1)
XYZxyz(30.0683, 33.3358, 7.7558)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE9D31 #3142AE
analogous
#AE5E31 #AE9D31 #80AE31
triadic
#AE9D31 #31AE9D #9D31AE
tetradic
#AE9D31 #31AE5E #3142AE #AE3180
square
#AE9D31 #31AE5E #3142AE #AE3180
split-complementary
#AE9D31 #3180AE #5E31AE
monochromatic
#4E4716 #7E7224 #AE9D31 #CDBC4F #DBCE7F

Accessibility & contrast

On white

2.74
#AE9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#AE9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE9D31
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE9D31#FFFFFF#000000##000000
##AE9D311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#BC9188
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae9d31;
/* rgb */ color: rgb(174, 157, 49);
/* oklch */ color: oklch(69.1% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#cab970',
    500: '#ae9d31',
    950: '#000000',
  },
}
SCSS
$custom: #ae9d31;
$custom-light: #cab970;
$custom-dark: #000000;
JSON
{
  "hex": "#ae9d31",
  "rgb": {
    "r": 174,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 51.84,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69134,
    "c": 0.12582,
    "h": 100.1
  },
  "luminance": 0.33334
}

Semantic roles & 50–950 ramp

primary
#AE9D31
secondary
#7782C4
accent
#5DDF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AE9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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