#A1AA26#A1AA26

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

Color values

HEX#A1AA26
RGBrgb(161, 170, 38)
HSLhsl(64, 63%, 41%)
HSVhsv(64, 78%, 67%)
CMYKcmyk(5.3%, 0%, 77.6%, 33.3%)
CIE-LABlab(66.88, -18.98, 61.56)
CIE-LCHlch(66.88, 64.42, 107.14°)
OKLaboklab(70.79% -0.0588 0.1346)
OKLCHoklch(70.79% 0.147 113.6)
XYZxyz(29.4234, 36.4671, 7.3222)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA26 #2F26AA
analogous
#AA7126 #A1AA26 #5FAA26
triadic
#A1AA26 #26A1AA #AA26A1
tetradic
#A1AA26 #26AA71 #2F26AA #AA265F
square
#A1AA26 #26AA71 #2F26AA #AA265F
split-complementary
#A1AA26 #265FAA #7126AA
monochromatic
#424610 #72781B #A1AA26 #C9D33A #D6DE6C

Accessibility & contrast

On white

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

On black

8.29
#A1AA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA26
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA26#FFFFFF#000000##000000
##A1AA261.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#AC9F92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa26;
/* rgb */ color: rgb(161, 170, 38);
/* oklch */ color: oklch(70.8% 0.147 113.6);
Tailwind
colors: {
  custom: {
    50: '#c0c36c',
    500: '#a1aa26',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa26;
$custom-light: #c0c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa26",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 64.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70794,
    "c": 0.14687,
    "h": 113.6
  },
  "luminance": 0.36466
}

Semantic roles & 50–950 ramp

primary
#A1AA26
secondary
#6E67C5
accent
#41E64D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA26

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

Preview Lab → · Contrast checker → · Palette generator →

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