#A1AE28#A1AE28

#A1AE28 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.150 H 115.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#A1AE28
RGBrgb(161, 174, 40)
HSLhsl(66, 63%, 42%)
HSVhsv(66, 77%, 68%)
CMYKcmyk(7.5%, 0%, 77%, 31.8%)
CIE-LABlab(68.02, -20.91, 61.98)
CIE-LCHlch(68.02, 65.41, 108.64°)
OKLaboklab(71.72% -0.064 0.1358)
OKLCHoklch(71.72% 0.15 115.2)
XYZxyz(30.2179, 38.0029, 7.7505)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AE28 #3528AE
analogous
#AE7828 #A1AE28 #5EAE28
triadic
#A1AE28 #28A1AE #AE28A1
tetradic
#A1AE28 #28AE78 #3528AE #AE285E
square
#A1AE28 #28AE78 #3528AE #AE285E
split-complementary
#A1AE28 #285EAE #7828AE
monochromatic
#454A11 #737C1D #A1AE28 #C5D340 #D4DF72

Accessibility & contrast

On white

2.44
#A1AE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A1AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AE28
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AE28#FFFFFF#000000##000000
##A1AE281.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA502
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#ACA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a1ae28;
/* rgb */ color: rgb(161, 174, 40);
/* oklch */ color: oklch(71.7% 0.150 115.2);
Tailwind
colors: {
  custom: {
    50: '#c0c66d',
    500: '#a1ae28',
    950: '#000000',
  },
}
SCSS
$custom: #a1ae28;
$custom-light: #c0c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ae28",
  "rgb": {
    "r": 161,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 65.821,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.15015,
    "h": 115.2
  },
  "luminance": 0.38002
}

Semantic roles & 50–950 ramp

primary
#A1AE28
secondary
#756CC6
accent
#42E652
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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