#A1AA1B#A1AA1B

#A1AA1B is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.152 H 113.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A1AA1B
RGBrgb(161, 170, 27)
HSLhsl(64, 73%, 39%)
HSVhsv(64, 84%, 67%)
CMYKcmyk(5.3%, 0%, 84.1%, 33.3%)
CIE-LABlab(66.83, -19.37, 64.56)
CIE-LCHlch(66.83, 67.40, 106.70°)
OKLaboklab(70.74% -0.0607 0.1391)
OKLCHoklch(70.74% 0.152 113.6)
XYZxyz(29.2715, 36.4063, 6.5219)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA1B #241BAA
analogous
#AA6B1B #A1AA1B #59AA1B
triadic
#A1AA1B #1BA1AA #AA1BA1
tetradic
#A1AA1B #1BAA6B #241BAA #AA1B59
square
#A1AA1B #1BAA6B #241BAA #AA1B59
split-complementary
#A1AA1B #1B59AA #6B1BAA
monochromatic
#3D400A #6F7513 #A1AA1B #D1DC26 #DCE55B

Accessibility & contrast

On white

2.54
#A1AA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A1AA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA1B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA1B#FFFFFF#000000##000000
##A1AA1B1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42B
Tritanopia (blue-blind)
#AC9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1aa1b;
/* rgb */ color: rgb(161, 170, 27);
/* oklch */ color: oklch(70.7% 0.152 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c368',
    500: '#a1aa1b',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa1b;
$custom-light: #c1c368;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa1b",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 63.776,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70743,
    "c": 0.15173,
    "h": 113.6
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

primary
#A1AA1B
secondary
#5F58C9
accent
#39EF44
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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