#A1AA28#A1AA28

#A1AA28 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.8% C 0.146 H 113.6°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A1AA28
RGBrgb(161, 170, 40)
HSLhsl(64, 62%, 41%)
HSVhsv(64, 76%, 67%)
CMYKcmyk(5.3%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.89, -18.90, 60.93)
CIE-LCHlch(66.89, 63.80, 107.23°)
OKLaboklab(70.8% -0.0584 0.1336)
OKLCHoklch(70.8% 0.146 113.6)
XYZxyz(29.4566, 36.4803, 7.4968)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA28 #3128AA
analogous
#AA7228 #A1AA28 #60AA28
triadic
#A1AA28 #28A1AA #AA28A1
tetradic
#A1AA28 #28AA72 #3128AA #AA2860
square
#A1AA28 #28AA72 #3128AA #AA2860
split-complementary
#A1AA28 #2860AA #7228AA
monochromatic
#434711 #72781C #A1AA28 #C7D23E #D6DD6F

Accessibility & contrast

On white

2.53
#A1AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A1AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA28
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA28#FFFFFF#000000##000000
##A1AA281.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A205
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#ACA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa28;
/* rgb */ color: rgb(161, 170, 40);
/* oklch */ color: oklch(70.8% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#c0c36d',
    500: '#a1aa28',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa28;
$custom-light: #c0c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa28",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 64.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70805,
    "c": 0.14582,
    "h": 113.6
  },
  "luminance": 0.3648
}

Semantic roles & 50–950 ramp

primary
#A1AA28
secondary
#706AC4
accent
#43E54E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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