#A1AB26#A1AB26

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

Color values

HEX#A1AB26
RGBrgb(161, 171, 38)
HSLhsl(65, 64%, 41%)
HSVhsv(65, 78%, 67%)
CMYKcmyk(5.8%, 0%, 77.8%, 32.9%)
CIE-LABlab(67.16, -19.49, 61.82)
CIE-LCHlch(67.16, 64.81, 107.50°)
OKLaboklab(71.02% -0.0602 0.1351)
OKLCHoklch(71.02% 0.148 114)
XYZxyz(29.6116, 36.8434, 7.3850)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB26 #3026AB
analogous
#AB7226 #A1AB26 #5EAB26
triadic
#A1AB26 #26A1AB #AB26A1
tetradic
#A1AB26 #26AB72 #3026AB #AB265E
square
#A1AB26 #26AB72 #3026AB #AB265E
split-complementary
#A1AB26 #265EAB #7226AB
monochromatic
#434710 #72791B #A1AB26 #C8D33B #D6DF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AB26#FFFFFF#000000##000000
##A1AB261.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)
#B8A200
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#ACA192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1ab26;
/* rgb */ color: rgb(161, 171, 38);
/* oklch */ color: oklch(71.0% 0.148 114.0);
Tailwind
colors: {
  custom: {
    50: '#c0c36c',
    500: '#a1ab26',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab26;
$custom-light: #c0c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab26",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 64.511,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.14794,
    "h": 114
  },
  "luminance": 0.36843
}

Semantic roles & 50–950 ramp

primary
#A1AB26
secondary
#6F68C5
accent
#41E74E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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