#A1AC1F#A1AC1F

#A1AC1F is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.2% C 0.152 H 114.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A1AC1F
RGBrgb(161, 172, 31)
HSLhsl(65, 69%, 40%)
HSVhsv(65, 82%, 67%)
CMYKcmyk(6.4%, 0%, 82%, 32.5%)
CIE-LABlab(67.41, -20.25, 64.05)
CIE-LCHlch(67.41, 67.17, 107.55°)
OKLaboklab(71.22% -0.0628 0.1387)
OKLCHoklch(71.22% 0.152 114.4)
XYZxyz(29.6987, 37.1816, 6.9084)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC1F #2A1FAC
analogous
#AC711F #A1AC1F #5AAC1F
triadic
#A1AC1F #1FA1AC #AC1FA1
tetradic
#A1AC1F #1FAC71 #2A1FAC #AC1F5A
square
#A1AC1F #1FAC71 #2A1FAC #AC1F5A
split-complementary
#A1AC1F #1F5AAC #711FAC
monochromatic
#40440C #707816 #A1AC1F #CCD92F #D9E363

Accessibility & contrast

On white

2.49
#A1AC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A1AC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AC1F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AC1F#FFFFFF#000000##000000
##A1AC1F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A52D
Tritanopia (blue-blind)
#ACA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac1f;
/* rgb */ color: rgb(161, 172, 31);
/* oklch */ color: oklch(71.2% 0.152 114.4);
Tailwind
colors: {
  custom: {
    50: '#c1c469',
    500: '#a1ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac1f;
$custom-light: #c1c469;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac1f",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 64.681,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71216,
    "c": 0.15224,
    "h": 114.4
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#A1AC1F
secondary
#675FC8
accent
#3CEC49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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