#AEB731#AEB731

#AEB731 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.151 H 113.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#AEB731
RGBrgb(174, 183, 49)
HSLhsl(64, 58%, 45%)
HSVhsv(64, 73%, 72%)
CMYKcmyk(4.9%, 0%, 73.2%, 28.2%)
CIE-LABlab(71.61, -19.46, 62.73)
CIE-LCHlch(71.61, 65.67, 107.23°)
OKLaboklab(74.86% -0.0599 0.1386)
OKLCHoklch(74.86% 0.151 113.4)
XYZxyz(34.9445, 43.0881, 9.3812)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB731 #3A31B7
analogous
#B77D31 #AEB731 #6BB731
triadic
#AEB731 #31AEB7 #B731AE
tetradic
#AEB731 #31B77D #3A31B7 #B7316B
square
#AEB731 #31B77D #3A31B7 #B7316B
split-complementary
#AEB731 #316BB7 #7D31B7
monochromatic
#525617 #808724 #AEB731 #C9D154 #D8DE84

Accessibility & contrast

On white

2.18
#AEB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#AEB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB731
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB731#FFFFFF#000000##000000
##AEB7311.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE16
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#BAAC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aeb731;
/* rgb */ color: rgb(174, 183, 49);
/* oklch */ color: oklch(74.9% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacc73',
    500: '#aeb731',
    950: '#000000',
  },
}
SCSS
$custom: #aeb731;
$custom-light: #cacc73;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb731",
  "rgb": {
    "r": 174,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 64.03,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74863,
    "c": 0.15095,
    "h": 113.4
  },
  "luminance": 0.43087
}

Semantic roles & 50–950 ramp

primary
#AEB731
secondary
#817CC8
accent
#47E151
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AEB731

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

Preview Lab → · Contrast checker → · Palette generator →

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