#AEB42A#AEB42A

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

Color values

HEX#AEB42A
RGBrgb(174, 180, 42)
HSLhsl(63, 62%, 44%)
HSVhsv(63, 77%, 71%)
CMYKcmyk(3.3%, 0%, 76.7%, 29.4%)
CIE-LABlab(70.74, -18.26, 64.21)
CIE-LCHlch(70.74, 66.76, 105.87°)
OKLaboklab(74.15% -0.0571 0.1405)
OKLCHoklch(74.15% 0.152 112.1)
XYZxyz(34.1959, 41.8092, 8.4587)
Luminance0.4181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB42A #302AB4
analogous
#B4752A #AEB42A #69B42A
triadic
#AEB42A #2AAEB4 #B42AAE
tetradic
#AEB42A #2AB475 #302AB4 #B42A69
square
#AEB42A #2AB475 #302AB4 #B42A69
split-complementary
#AEB42A #2A69B4 #752AB4
monochromatic
#4E5113 #7E821E #AEB42A #CED447 #DBE079

Accessibility & contrast

On white

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

On black

9.36
#AEB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB42A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB42A#FFFFFF#000000##000000
##AEB42A1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#BAA99A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aeb42a;
/* rgb */ color: rgb(174, 180, 42);
/* oklch */ color: oklch(74.1% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#caca6f',
    500: '#aeb42a',
    950: '#000000',
  },
}
SCSS
$custom: #aeb42a;
$custom-light: #caca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb42a",
  "rgb": {
    "r": 174,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 62.609,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74149,
    "c": 0.15165,
    "h": 112.1
  },
  "luminance": 0.41808
}

Semantic roles & 50–950 ramp

primary
#AEB42A
secondary
#7672C8
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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