#A1AB2E#A1AB2E

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

Color values

HEX#A1AB2E
RGBrgb(161, 171, 46)
HSLhsl(65, 58%, 43%)
HSVhsv(65, 73%, 67%)
CMYKcmyk(5.8%, 0%, 73.1%, 32.9%)
CIE-LABlab(67.20, -19.13, 59.20)
CIE-LCHlch(67.20, 62.22, 107.91°)
OKLaboklab(71.07% -0.0585 0.131)
OKLCHoklch(71.07% 0.144 114.1)
XYZxyz(29.7549, 36.9007, 8.1394)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB2E #382EAB
analogous
#AB762E #A1AB2E #62AB2E
triadic
#A1AB2E #2EA1AB #AB2EA1
tetradic
#A1AB2E #2EAB76 #382EAB #AB2E62
square
#A1AB2E #2EAB76 #382EAB #AB2E62
split-complementary
#A1AB2E #2E62AB #762EAB
monochromatic
#464B14 #747B21 #A1AB2E #C3CE48 #D3DB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AB2E#FFFFFF#000000##000000
##A1AB2E1.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)
#B8A216
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ab2e;
/* rgb */ color: rgb(161, 171, 46);
/* oklch */ color: oklch(71.1% 0.143 114.1);
Tailwind
colors: {
  custom: {
    50: '#c0c370',
    500: '#a1ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab2e;
$custom-light: #c0c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab2e",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 64.8,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7107,
    "c": 0.1435,
    "h": 114.1
  },
  "luminance": 0.369
}

Semantic roles & 50–950 ramp

primary
#A1AB2E
secondary
#7872C3
accent
#47E153
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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