#A1AB28#A1AB28

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

Color values

HEX#A1AB28
RGBrgb(161, 171, 40)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(5.8%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.17, -19.41, 61.20)
CIE-LCHlch(67.17, 64.20, 107.59°)
OKLaboklab(71.03% -0.0598 0.1342)
OKLCHoklch(71.03% 0.147 114)
XYZxyz(29.6448, 36.8567, 7.5595)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB28 #3228AB
analogous
#AB7428 #A1AB28 #60AB28
triadic
#A1AB28 #28A1AB #AB28A1
tetradic
#A1AB28 #28AB74 #3228AB #AB2860
square
#A1AB28 #28AB74 #3228AB #AB2860
split-complementary
#A1AB28 #2860AB #7428AB
monochromatic
#444811 #72791C #A1AB28 #C7D23E #D5DE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AB28#FFFFFF#000000##000000
##A1AB281.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)
#B8A204
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1ab28;
/* rgb */ color: rgb(161, 171, 40);
/* oklch */ color: oklch(71.0% 0.147 114.0);
Tailwind
colors: {
  custom: {
    50: '#c0c36d',
    500: '#a1ab28',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab28;
$custom-light: #c0c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab28",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 64.58,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.1469,
    "h": 114
  },
  "luminance": 0.36856
}

Semantic roles & 50–950 ramp

primary
#A1AB28
secondary
#716AC4
accent
#43E54F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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