#A1AC31#A1AC31

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

Color values

HEX#A1AC31
RGBrgb(161, 172, 49)
HSLhsl(65, 56%, 43%)
HSVhsv(65, 72%, 67%)
CMYKcmyk(6.4%, 0%, 71.5%, 32.5%)
CIE-LABlab(67.50, -19.48, 58.41)
CIE-LCHlch(67.50, 61.58, 108.44°)
OKLaboklab(71.32% -0.0592 0.1299)
OKLCHoklch(71.32% 0.143 114.5)
XYZxyz(30.0057, 37.3044, 8.5249)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC31 #3C31AC
analogous
#AC7931 #A1AC31 #63AC31
triadic
#A1AC31 #31A1AC #AC31A1
tetradic
#A1AC31 #31AC79 #3C31AC #AC3163
square
#A1AC31 #31AC79 #3C31AC #AC3163
split-complementary
#A1AC31 #3163AC #7931AC
monochromatic
#484D16 #747C23 #A1AC31 #C1CC4E #D2DA7D

Accessibility & contrast

On white

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

On black

8.46
#A1AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AC31
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AC31#FFFFFF#000000##000000
##A1AC311.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1ac31;
/* rgb */ color: rgb(161, 172, 49);
/* oklch */ color: oklch(71.3% 0.143 114.5);
Tailwind
colors: {
  custom: {
    50: '#c0c472',
    500: '#a1ac31',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac31;
$custom-light: #c0c472;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac31",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 65.366,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71318,
    "c": 0.14275,
    "h": 114.5
  },
  "luminance": 0.37304
}

Semantic roles & 50–950 ramp

primary
#A1AC31
secondary
#7D76C3
accent
#49DF56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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