#AEB842#AEB842

#AEB842 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.141 H 113.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AEB842
RGBrgb(174, 184, 66)
HSLhsl(65, 47%, 49%)
HSVhsv(65, 64%, 72%)
CMYKcmyk(5.4%, 0%, 64.1%, 27.8%)
CIE-LABlab(72.01, -19.00, 56.63)
CIE-LCHlch(72.01, 59.74, 108.55°)
OKLaboklab(75.22% -0.0569 0.1285)
OKLCHoklch(75.22% 0.141 113.9)
XYZxyz(35.5803, 43.6737, 11.7087)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB842 #4C42B8
analogous
#B88742 #AEB842 #73B842
triadic
#AEB842 #42AEB8 #B842AE
tetradic
#AEB842 #42B887 #4C42B8 #B84273
square
#AEB842 #42B887 #4C42B8 #B84273
split-complementary
#AEB842 #4273B8 #8742B8
monochromatic
#595E22 #838B32 #AEB842 #C3CB6D #D5DB9A

Accessibility & contrast

On white

2.16
#AEB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#AEB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB842
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB842#FFFFFF#000000##000000
##AEB8421.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF33
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#B9AEA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aeb842;
/* rgb */ color: rgb(174, 184, 66);
/* oklch */ color: oklch(75.2% 0.141 113.9);
Tailwind
colors: {
  custom: {
    50: '#c9cd7c',
    500: '#aeb842',
    950: '#000000',
  },
}
SCSS
$custom: #aeb842;
$custom-light: #c9cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb842",
  "rgb": {
    "r": 174,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 65.085,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75216,
    "c": 0.14056,
    "h": 113.9
  },
  "luminance": 0.43673
}

Semantic roles & 50–950 ramp

primary
#AEB842
secondary
#948FC7
accent
#51D75C
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AEB842

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

Preview Lab → · Contrast checker → · Palette generator →

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