#AEB42E#AEB42E

#AEB42E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.150 H 112.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#AEB42E
RGBrgb(174, 180, 46)
HSLhsl(63, 59%, 44%)
HSVhsv(63, 74%, 71%)
CMYKcmyk(3.3%, 0%, 74.4%, 29.4%)
CIE-LABlab(70.76, -18.09, 62.94)
CIE-LCHlch(70.76, 65.48, 106.04°)
OKLaboklab(74.17% -0.0563 0.1385)
OKLCHoklch(74.17% 0.15 112.1)
XYZxyz(34.2711, 41.8393, 8.8547)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB42E #342EB4
analogous
#B4772E #AEB42E #6BB42E
triadic
#AEB42E #2EAEB4 #B42EAE
tetradic
#AEB42E #2EB477 #342EB4 #B42E6B
square
#AEB42E #2EB477 #342EB4 #B42E6B
split-complementary
#AEB42E #2E6BB4 #772EB4
monochromatic
#505315 #7F8322 #AEB42E #CCD24E #DADE7E

Accessibility & contrast

On white

2.24
#AEB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#AEB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB42E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB42E#FFFFFF#000000##000000
##AEB42E1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#BAA99B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aeb42e;
/* rgb */ color: rgb(174, 180, 46);
/* oklch */ color: oklch(74.2% 0.150 112.1);
Tailwind
colors: {
  custom: {
    50: '#caca71',
    500: '#aeb42e',
    950: '#000000',
  },
}
SCSS
$custom: #aeb42e;
$custom-light: #caca71;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb42e",
  "rgb": {
    "r": 174,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 62.687,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74173,
    "c": 0.14951,
    "h": 112.1
  },
  "luminance": 0.41838
}

Semantic roles & 50–950 ramp

primary
#AEB42E
secondary
#7B77C7
accent
#45E24C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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