#AEB942#AEB942

#AEB942 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.4% C 0.142 H 114.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#AEB942
RGBrgb(174, 185, 66)
HSLhsl(66, 47%, 49%)
HSVhsv(66, 64%, 73%)
CMYKcmyk(5.9%, 0%, 64.3%, 27.5%)
CIE-LABlab(72.29, -19.50, 56.93)
CIE-LCHlch(72.29, 60.18, 108.91°)
OKLaboklab(75.44% -0.0583 0.1291)
OKLCHoklch(75.44% 0.142 114.3)
XYZxyz(35.7888, 44.0906, 11.7782)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB942 #4D42B9
analogous
#B98942 #AEB942 #73B942
triadic
#AEB942 #42AEB9 #B942AE
tetradic
#AEB942 #42B989 #4D42B9 #B94273
square
#AEB942 #42B989 #4D42B9 #B94273
split-complementary
#AEB942 #4273B9 #8942B9
monochromatic
#595F22 #848C32 #AEB942 #C2CB6D #D5DB9A

Accessibility & contrast

On white

2.14
#AEB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#AEB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB942
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB942#FFFFFF#000000##000000
##AEB9421.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B032
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#B9AFA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aeb942;
/* rgb */ color: rgb(174, 185, 66);
/* oklch */ color: oklch(75.4% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#c9cd7c',
    500: '#aeb942',
    950: '#000000',
  },
}
SCSS
$custom: #aeb942;
$custom-light: #c9cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb942",
  "rgb": {
    "r": 174,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 65.546,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7544,
    "c": 0.1417,
    "h": 114.3
  },
  "luminance": 0.4409
}

Semantic roles & 50–950 ramp

primary
#AEB942
secondary
#9590C7
accent
#51D75D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB942

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

Preview Lab → · Contrast checker → · Palette generator →

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