#AEA831#AEA831

#AEA831 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.136 H 106.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AEA831
RGBrgb(174, 168, 49)
HSLhsl(57, 56%, 44%)
HSVhsv(57, 72%, 68%)
CMYKcmyk(0%, 3.4%, 71.8%, 31.8%)
CIE-LABlab(67.45, -11.80, 58.72)
CIE-LCHlch(67.45, 59.89, 101.36°)
OKLaboklab(71.53% -0.0385 0.1301)
OKLCHoklch(71.53% 0.136 106.5)
XYZxyz(32.0138, 37.2268, 8.4043)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA831 #3137AE
analogous
#AE6931 #AEA831 #75AE31
triadic
#AEA831 #31AEA8 #A831AE
tetradic
#AEA831 #31AE69 #3137AE #AE3175
square
#AEA831 #31AE69 #3137AE #AE3175
split-complementary
#AEA831 #3175AE #6931AE
monochromatic
#4E4C16 #7E7A24 #AEA831 #CDC74F #DBD67F

Accessibility & contrast

On white

2.49
#AEA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AEA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA831
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA831#FFFFFF#000000##000000
##AEA8311.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21C
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#BB9D91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aea831;
/* rgb */ color: rgb(174, 168, 49);
/* oklch */ color: oklch(71.5% 0.136 106.5);
Tailwind
colors: {
  custom: {
    50: '#cac171',
    500: '#aea831',
    950: '#000000',
  },
}
SCSS
$custom: #aea831;
$custom-light: #cac171;
$custom-dark: #000000;
JSON
{
  "hex": "#aea831",
  "rgb": {
    "r": 174,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 57.12,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.13568,
    "h": 106.5
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#AEA831
secondary
#777BC4
accent
#50DF48
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AEA831

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

Preview Lab → · Contrast checker → · Palette generator →

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