#AEAA31#AEAA31

#AEAA31 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.138 H 107.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AEAA31
RGBrgb(174, 170, 49)
HSLhsl(58, 56%, 44%)
HSVhsv(58, 72%, 68%)
CMYKcmyk(0%, 2.3%, 71.8%, 31.8%)
CIE-LABlab(68.00, -12.84, 59.25)
CIE-LCHlch(68.00, 60.63, 102.22°)
OKLaboklab(71.97% -0.0414 0.1312)
OKLCHoklch(71.97% 0.138 107.5)
XYZxyz(32.3859, 37.9710, 8.5283)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEAA31 #3135AE
analogous
#AE6B31 #AEAA31 #73AE31
triadic
#AEAA31 #31AEAA #AA31AE
tetradic
#AEAA31 #31AE6B #3135AE #AE3173
square
#AEAA31 #31AE6B #3135AE #AE3173
split-complementary
#AEAA31 #3173AE #6B31AE
monochromatic
#4E4D16 #7E7B24 #AEAA31 #CDC94F #DBD87F

Accessibility & contrast

On white

2.44
#AEAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AEAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEAA31
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEAA31#FFFFFF#000000##000000
##AEAA311.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#BB9F92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aeaa31;
/* rgb */ color: rgb(174, 170, 49);
/* oklch */ color: oklch(72.0% 0.138 107.5);
Tailwind
colors: {
  custom: {
    50: '#cac372',
    500: '#aeaa31',
    950: '#000000',
  },
}
SCSS
$custom: #aeaa31;
$custom-light: #cac372;
$custom-dark: #000000;
JSON
{
  "hex": "#aeaa31",
  "rgb": {
    "r": 174,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 58.08,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71972,
    "c": 0.13761,
    "h": 107.5
  },
  "luminance": 0.3797
}

Semantic roles & 50–950 ramp

primary
#AEAA31
secondary
#777AC4
accent
#4DDF48
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AEAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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