#A1AB2C#A1AB2C

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

Color values

HEX#A1AB2C
RGBrgb(161, 171, 44)
HSLhsl(65, 59%, 42%)
HSVhsv(65, 74%, 67%)
CMYKcmyk(5.8%, 0%, 74.3%, 32.9%)
CIE-LABlab(67.19, -19.23, 59.89)
CIE-LCHlch(67.19, 62.90, 107.80°)
OKLaboklab(71.06% -0.059 0.1321)
OKLCHoklch(71.06% 0.145 114)
XYZxyz(29.7164, 36.8853, 7.9366)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB2C #362CAB
analogous
#AB752C #A1AB2C #62AB2C
triadic
#A1AB2C #2CA1AB #AB2CA1
tetradic
#A1AB2C #2CAB75 #362CAB #AB2C62
square
#A1AB2C #2CAB75 #362CAB #AB2C62
split-complementary
#A1AB2C #2C62AB #752CAB
monochromatic
#454A13 #737A1F #A1AB2C #C4CF45 #D4DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AB2C#FFFFFF#000000##000000
##A1AB2C1.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)
#B8A211
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ab2c;
/* rgb */ color: rgb(161, 171, 44);
/* oklch */ color: oklch(71.1% 0.145 114.0);
Tailwind
colors: {
  custom: {
    50: '#c0c36f',
    500: '#a1ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab2c;
$custom-light: #c0c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab2c",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 64.724,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71057,
    "c": 0.14469,
    "h": 114
  },
  "luminance": 0.36885
}

Semantic roles & 50–950 ramp

primary
#A1AB2C
secondary
#766FC3
accent
#46E252
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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