#A1AB29#A1AB29

#A1AB29 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.146 H 114.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A1AB29
RGBrgb(161, 171, 41)
HSLhsl(65, 61%, 42%)
HSVhsv(65, 76%, 67%)
CMYKcmyk(5.8%, 0%, 76%, 32.9%)
CIE-LABlab(67.17, -19.36, 60.88)
CIE-LCHlch(67.17, 63.88, 107.64°)
OKLaboklab(71.04% -0.0596 0.1337)
OKLCHoklch(71.04% 0.146 114)
XYZxyz(29.6620, 36.8636, 7.6502)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB29 #3329AB
analogous
#AB7429 #A1AB29 #60AB29
triadic
#A1AB29 #29A1AB #AB29A1
tetradic
#A1AB29 #29AB74 #3329AB #AB2960
square
#A1AB29 #29AB74 #3329AB #AB2960
split-complementary
#A1AB29 #2960AB #7429AB
monochromatic
#444811 #737A1D #A1AB29 #C6D140 #D5DD71

Accessibility & contrast

On white

2.51
#A1AB29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A1AB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AB29
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AB29#FFFFFF#000000##000000
##A1AB291.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A208
Deuteranopia (green-blind)
#B7A534
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1ab29;
/* rgb */ color: rgb(161, 171, 41);
/* oklch */ color: oklch(71.0% 0.146 114.0);
Tailwind
colors: {
  custom: {
    50: '#c0c36e',
    500: '#a1ab29',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab29;
$custom-light: #c0c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab29",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 64.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71039,
    "c": 0.14636,
    "h": 114
  },
  "luminance": 0.36863
}

Semantic roles & 50–950 ramp

primary
#A1AB29
secondary
#726CC4
accent
#43E450
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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