#AEB42B#AEB42B

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

Color values

HEX#AEB42B
RGBrgb(174, 180, 43)
HSLhsl(63, 61%, 44%)
HSVhsv(63, 76%, 71%)
CMYKcmyk(3.3%, 0%, 76.1%, 29.4%)
CIE-LABlab(70.74, -18.22, 63.90)
CIE-LCHlch(70.74, 66.45, 105.91°)
OKLaboklab(74.16% -0.0569 0.14)
OKLCHoklch(74.16% 0.151 112.1)
XYZxyz(34.2140, 41.8164, 8.5541)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB42B #312BB4
analogous
#B4752B #AEB42B #69B42B
triadic
#AEB42B #2BAEB4 #B42BAE
tetradic
#AEB42B #2BB475 #312BB4 #B42B69
square
#AEB42B #2BB475 #312BB4 #B42B69
split-complementary
#AEB42B #2B69B4 #752BB4
monochromatic
#4E5113 #7E831F #AEB42B #CDD349 #DBDF7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AEB42B#FFFFFF#000000##000000
##AEB42B1.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)
#C2AB06
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#BAA99A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aeb42b;
/* rgb */ color: rgb(174, 180, 43);
/* oklch */ color: oklch(74.2% 0.151 112.1);
Tailwind
colors: {
  custom: {
    50: '#caca70',
    500: '#aeb42b',
    950: '#000000',
  },
}
SCSS
$custom: #aeb42b;
$custom-light: #caca70;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb42b",
  "rgb": {
    "r": 174,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 62.628,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.15113,
    "h": 112.1
  },
  "luminance": 0.41816
}

Semantic roles & 50–950 ramp

primary
#AEB42B
secondary
#7773C7
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AEB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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