#A1AB1F#A1AB1F

#A1AB1F is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.151 H 114.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A1AB1F
RGBrgb(161, 171, 31)
HSLhsl(64, 69%, 40%)
HSVhsv(64, 82%, 67%)
CMYKcmyk(5.8%, 0%, 81.9%, 32.9%)
CIE-LABlab(67.13, -19.75, 63.80)
CIE-LCHlch(67.13, 66.79, 107.20°)
OKLaboklab(70.99% -0.0614 0.1381)
OKLCHoklch(70.99% 0.151 114)
XYZxyz(29.5091, 36.8024, 6.8452)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AB1F #291FAB
analogous
#AB6F1F #A1AB1F #5BAB1F
triadic
#A1AB1F #1FA1AB #AB1FA1
tetradic
#A1AB1F #1FAB6F #291FAB #AB1F5B
square
#A1AB1F #1FAB6F #291FAB #AB1F5B
split-complementary
#A1AB1F #1F5BAB #6F1FAB
monochromatic
#3F430C #707716 #A1AB1F #CDD92E #D9E362

Accessibility & contrast

On white

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

On black

8.36
#A1AB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AB1F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AB1F#FFFFFF#000000##000000
##A1AB1F1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#ACA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a1ab1f;
/* rgb */ color: rgb(161, 171, 31);
/* oklch */ color: oklch(71.0% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c369',
    500: '#a1ab1f',
    950: '#000000',
  },
}
SCSS
$custom: #a1ab1f;
$custom-light: #c1c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ab1f",
  "rgb": {
    "r": 161,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 64.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70987,
    "c": 0.15119,
    "h": 114
  },
  "luminance": 0.36802
}

Semantic roles & 50–950 ramp

primary
#A1AB1F
secondary
#665EC7
accent
#3CEC48
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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