#A1AA1F#A1AA1F

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

Color values

HEX#A1AA1F
RGBrgb(161, 170, 31)
HSLhsl(64, 69%, 39%)
HSVhsv(64, 82%, 67%)
CMYKcmyk(5.3%, 0%, 81.8%, 33.3%)
CIE-LABlab(66.84, -19.24, 63.55)
CIE-LCHlch(66.84, 66.40, 106.85°)
OKLaboklab(70.76% -0.06 0.1376)
OKLCHoklch(70.76% 0.15 113.6)
XYZxyz(29.3210, 36.4261, 6.7824)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AA1F #281FAA
analogous
#AA6E1F #A1AA1F #5CAA1F
triadic
#A1AA1F #1FA1AA #AA1FA1
tetradic
#A1AA1F #1FAA6E #281FAA #AA1F5C
square
#A1AA1F #1FAA6E #281FAA #AA1F5C
split-complementary
#A1AA1F #1F5CAA #6E1FAA
monochromatic
#3F420C #707616 #A1AA1F #CED92D #DAE261

Accessibility & contrast

On white

2.53
#A1AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A1AA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AA1F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AA1F#FFFFFF#000000##000000
##A1AA1F1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1aa1f;
/* rgb */ color: rgb(161, 170, 31);
/* oklch */ color: oklch(70.8% 0.150 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c369',
    500: '#a1aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #a1aa1f;
$custom-light: #c1c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a1aa1f",
  "rgb": {
    "r": 161,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 63.885,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.15013,
    "h": 113.6
  },
  "luminance": 0.36425
}

Semantic roles & 50–950 ramp

primary
#A1AA1F
secondary
#655EC7
accent
#3CEC47
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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