#AEA731#AEA731

#AEA731 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.135 H 105.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AEA731
RGBrgb(174, 167, 49)
HSLhsl(57, 56%, 44%)
HSVhsv(57, 72%, 68%)
CMYKcmyk(0%, 4%, 71.8%, 31.8%)
CIE-LABlab(67.17, -11.28, 58.45)
CIE-LCHlch(67.17, 59.53, 100.92°)
OKLaboklab(71.31% -0.037 0.1295)
OKLCHoklch(71.31% 0.135 105.9)
XYZxyz(31.8299, 36.8590, 8.3430)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA731 #3138AE
analogous
#AE6831 #AEA731 #76AE31
triadic
#AEA731 #31AEA7 #A731AE
tetradic
#AEA731 #31AE68 #3138AE #AE3176
square
#AEA731 #31AE68 #3138AE #AE3176
split-complementary
#AEA731 #3176AE #6831AE
monochromatic
#4E4B16 #7E7924 #AEA731 #CDC64F #DBD67F

Accessibility & contrast

On white

2.51
#AEA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AEA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA731
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA731#FFFFFF#000000##000000
##AEA7311.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11D
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#BB9C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aea731;
/* rgb */ color: rgb(174, 167, 49);
/* oklch */ color: oklch(71.3% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#cac071',
    500: '#aea731',
    950: '#000000',
  },
}
SCSS
$custom: #aea731;
$custom-light: #cac071;
$custom-dark: #000000;
JSON
{
  "hex": "#aea731",
  "rgb": {
    "r": 174,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 56.64,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.13472,
    "h": 105.9
  },
  "luminance": 0.36858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AEA731

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

Preview Lab → · Contrast checker → · Palette generator →

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