#A1AC2A#A1AC2A

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

Color values

HEX#A1AC2A
RGBrgb(161, 172, 42)
HSLhsl(65, 61%, 42%)
HSVhsv(65, 76%, 67%)
CMYKcmyk(6.4%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.46, -19.82, 60.82)
CIE-LCHlch(67.46, 63.97, 108.05°)
OKLaboklab(71.27% -0.0608 0.1337)
OKLCHoklch(71.27% 0.147 114.4)
XYZxyz(29.8693, 37.2499, 7.8065)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC2A #352AAC
analogous
#AC762A #A1AC2A #60AC2A
triadic
#A1AC2A #2AA1AC #AC2AA1
tetradic
#A1AC2A #2AAC76 #352AAC #AC2A60
square
#A1AC2A #2AAC76 #352AAC #AC2A60
split-complementary
#A1AC2A #2A60AC #762AAC
monochromatic
#454A12 #737B1E #A1AC2A #C5D142 #D4DD73

Accessibility & contrast

On white

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

On black

8.45
#A1AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AC2A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AC2A#FFFFFF#000000##000000
##A1AC2A1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30A
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#ACA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac2a;
/* rgb */ color: rgb(161, 172, 42);
/* oklch */ color: oklch(71.3% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c46e',
    500: '#a1ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac2a;
$custom-light: #c0c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac2a",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 65.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.14691,
    "h": 114.4
  },
  "luminance": 0.37249
}

Semantic roles & 50–950 ramp

primary
#A1AC2A
secondary
#756DC4
accent
#44E451
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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