#AEB242#AEB242

#AEB242 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.134 H 111.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#AEB242
RGBrgb(174, 178, 66)
HSLhsl(62, 46%, 48%)
HSVhsv(62, 63%, 70%)
CMYKcmyk(2.2%, 0%, 62.9%, 30.2%)
CIE-LABlab(70.34, -15.97, 54.87)
CIE-LCHlch(70.34, 57.14, 106.23°)
OKLaboklab(73.88% -0.0484 0.1248)
OKLCHoklch(73.88% 0.134 111.2)
XYZxyz(34.3603, 41.2336, 11.3021)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB242 #4642B2
analogous
#B27E42 #AEB242 #76B242
triadic
#AEB242 #42AEB2 #B242AE
tetradic
#AEB242 #42B27E #4642B2 #B24276
square
#AEB242 #42B27E #4642B2 #B24276
split-complementary
#AEB242 #4276B2 #7E42B2
monochromatic
#575921 #828531 #AEB242 #C4C86A #D6D896

Accessibility & contrast

On white

2.27
#AEB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#AEB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB242
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB242#FFFFFF#000000##000000
##AEB2421.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C0AD49
Tritanopia (blue-blind)
#B9A89B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb242;
/* rgb */ color: rgb(174, 178, 66);
/* oklch */ color: oklch(73.9% 0.134 111.2);
Tailwind
colors: {
  custom: {
    50: '#c9c87c',
    500: '#aeb242',
    950: '#000000',
  },
}
SCSS
$custom: #aeb242;
$custom-light: #c9c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb242",
  "rgb": {
    "r": 174,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 62.143,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.13384,
    "h": 111.2
  },
  "luminance": 0.41233
}

Semantic roles & 50–950 ramp

primary
#AEB242
secondary
#8E8CC4
accent
#52D657
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AEB242

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

Preview Lab → · Contrast checker → · Palette generator →

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