#A1AB2D#A1AB2D

#A1AB2D is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.144 H 114.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#A1AB2D
RGBrgb(161, 171, 45)
HSLhsl(65, 58%, 42%)
HSVhsv(65, 74%, 67%)
CMYKcmyk(5.8%, 0%, 73.7%, 32.9%)
CIE-LABlab(67.20, -19.18, 59.55)
CIE-LCHlch(67.20, 62.56, 107.85°)
OKLaboklab(71.06% -0.0587 0.1316)
OKLCHoklch(71.06% 0.144 114.1)
XYZxyz(29.7354, 36.8929, 8.0368)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB2D #372DAB
analogous
#AB762D #A1AB2D #62AB2D
triadic
#A1AB2D #2DA1AB #AB2DA1
tetradic
#A1AB2D #2DAB76 #372DAB #AB2D62
square
#A1AB2D #2DAB76 #372DAB #AB2D62
split-complementary
#A1AB2D #2D62AB #762DAB
monochromatic
#464A14 #737B20 #A1AB2D #C4CE47 #D3DB77

Accessibility & contrast

On white

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

On black

8.38
#A1AB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AB2D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AB2D#FFFFFF#000000##000000
##A1AB2D1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A213
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ab2d;
/* rgb */ color: rgb(161, 171, 45);
/* oklch */ color: oklch(71.1% 0.144 114.1);
Tailwind
colors: {
  custom: {
    50: '#c0c36f',
    500: '#a1ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab2d;
$custom-light: #c0c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab2d",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 64.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71064,
    "c": 0.1441,
    "h": 114.1
  },
  "luminance": 0.36892
}

Semantic roles & 50–950 ramp

primary
#A1AB2D
secondary
#7771C3
accent
#46E253
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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