#A1AC2C#A1AC2C

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

Color values

HEX#A1AC2C
RGBrgb(161, 172, 44)
HSLhsl(65, 59%, 42%)
HSVhsv(65, 74%, 67%)
CMYKcmyk(6.4%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.47, -19.73, 60.16)
CIE-LCHlch(67.47, 63.31, 108.16°)
OKLaboklab(71.29% -0.0604 0.1327)
OKLCHoklch(71.29% 0.146 114.5)
XYZxyz(29.9060, 37.2645, 7.9998)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC2C #372CAC
analogous
#AC772C #A1AC2C #61AC2C
triadic
#A1AC2C #2CA1AC #AC2CA1
tetradic
#A1AC2C #2CAC77 #372CAC #AC2C61
square
#A1AC2C #2CAC77 #372CAC #AC2C61
split-complementary
#A1AC2C #2C61AC #772CAC
monochromatic
#464B13 #737B20 #A1AC2C #C4D046 #D3DC76

Accessibility & contrast

On white

2.48
#A1AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AC2C#FFFFFF#000000##000000
##A1AC2C1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A310
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#ACA294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac2c;
/* rgb */ color: rgb(161, 172, 44);
/* oklch */ color: oklch(71.3% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#c0c46f',
    500: '#a1ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac2c;
$custom-light: #c0c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac2c",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 65.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.14577,
    "h": 114.5
  },
  "luminance": 0.37264
}

Semantic roles & 50–950 ramp

primary
#A1AC2C
secondary
#7770C4
accent
#45E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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