#AEA231#AEA231

#AEA231 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.130 H 103.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AEA231
RGBrgb(174, 162, 49)
HSLhsl(54, 56%, 44%)
HSVhsv(54, 72%, 68%)
CMYKcmyk(0%, 6.9%, 71.8%, 31.8%)
CIE-LABlab(65.80, -8.65, 57.11)
CIE-LCHlch(65.80, 57.76, 98.62°)
OKLaboklab(70.22% -0.0296 0.1267)
OKLCHoklch(70.22% 0.13 103.1)
XYZxyz(30.9316, 35.0624, 8.0435)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEA231 #313DAE
analogous
#AE6331 #AEA231 #7BAE31
triadic
#AEA231 #31AEA2 #A231AE
tetradic
#AEA231 #31AE63 #313DAE #AE317B
square
#AEA231 #31AE63 #313DAE #AE317B
split-complementary
#AEA231 #317BAE #6331AE
monochromatic
#4E4916 #7E7624 #AEA231 #CDC14F #DBD27F

Accessibility & contrast

On white

2.62
#AEA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AEA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEA231
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEA231#FFFFFF#000000##000000
##AEA2311.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B5A239
Tritanopia (blue-blind)
#BB978C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aea231;
/* rgb */ color: rgb(174, 162, 49);
/* oklch */ color: oklch(70.2% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#cabd71',
    500: '#aea231',
    950: '#000000',
  },
}
SCSS
$custom: #aea231;
$custom-light: #cabd71;
$custom-dark: #000000;
JSON
{
  "hex": "#aea231",
  "rgb": {
    "r": 174,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 54.24,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.13012,
    "h": 103.1
  },
  "luminance": 0.35061
}

Semantic roles & 50–950 ramp

primary
#AEA231
secondary
#777EC4
accent
#57DF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AEA231

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

Preview Lab → · Contrast checker → · Palette generator →

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