#A1AC2B#A1AC2B

#A1AC2B 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#A1AC2B
RGBrgb(161, 172, 43)
HSLhsl(65, 60%, 42%)
HSVhsv(65, 75%, 67%)
CMYKcmyk(6.4%, 0%, 75%, 32.5%)
CIE-LABlab(67.47, -19.78, 60.49)
CIE-LCHlch(67.47, 63.64, 108.10°)
OKLaboklab(71.28% -0.0606 0.1332)
OKLCHoklch(71.28% 0.146 114.5)
XYZxyz(29.8874, 37.2571, 7.9019)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC2B #362BAC
analogous
#AC762B #A1AC2B #61AC2B
triadic
#A1AC2B #2BA1AC #AC2BA1
tetradic
#A1AC2B #2BAC76 #362BAC #AC2B61
square
#A1AC2B #2BAC76 #362BAC #AC2B61
split-complementary
#A1AC2B #2B61AC #762BAC
monochromatic
#454A13 #737B1F #A1AC2B #C4D044 #D4DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AC2B#FFFFFF#000000##000000
##A1AC2B1.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)
#B9A30D
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#ACA294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac2b;
/* rgb */ color: rgb(161, 172, 43);
/* oklch */ color: oklch(71.3% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#c0c46f',
    500: '#a1ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac2b;
$custom-light: #c0c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac2b",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 65.116,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.14635,
    "h": 114.5
  },
  "luminance": 0.37257
}

Semantic roles & 50–950 ramp

primary
#A1AC2B
secondary
#766FC4
accent
#45E352
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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