#AEB231#AEB231

#AEB231 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.146 H 111.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AEB231
RGBrgb(174, 178, 49)
HSLhsl(62, 57%, 45%)
HSVhsv(62, 72%, 70%)
CMYKcmyk(2.2%, 0%, 72.5%, 30.2%)
CIE-LABlab(70.22, -16.94, 61.39)
CIE-LCHlch(70.22, 63.69, 105.42°)
OKLaboklab(73.75% -0.0528 0.1358)
OKLCHoklch(73.75% 0.146 111.3)
XYZxyz(33.9315, 41.0621, 9.0435)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB231 #3531B2
analogous
#B27531 #AEB231 #6EB231
triadic
#AEB231 #31AEB2 #B231AE
tetradic
#AEB231 #31B275 #3531B2 #B2316E
square
#AEB231 #31B275 #3531B2 #B2316E
split-complementary
#AEB231 #316EB2 #7531B2
monochromatic
#505217 #7F8224 #AEB231 #CBCF51 #DADC81

Accessibility & contrast

On white

2.28
#AEB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#AEB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB231
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB231#FFFFFF#000000##000000
##AEB2311.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#BAA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb231;
/* rgb */ color: rgb(174, 178, 49);
/* oklch */ color: oklch(73.7% 0.146 111.3);
Tailwind
colors: {
  custom: {
    50: '#cac872',
    500: '#aeb231',
    950: '#000000',
  },
}
SCSS
$custom: #aeb231;
$custom-light: #cac872;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb231",
  "rgb": {
    "r": 174,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 61.86,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73746,
    "c": 0.14568,
    "h": 111.3
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#AEB231
secondary
#7C79C5
accent
#48E04C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB231

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

Preview Lab → · Contrast checker → · Palette generator →

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