#A1AC27#A1AC27

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

Color values

HEX#A1AC27
RGBrgb(161, 172, 39)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(6.4%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.45, -19.95, 61.77)
CIE-LCHlch(67.45, 64.91, 107.90°)
OKLaboklab(71.26% -0.0614 0.1352)
OKLCHoklch(71.26% 0.149 114.4)
XYZxyz(29.8176, 37.2292, 7.5343)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC27 #3227AC
analogous
#AC7527 #A1AC27 #5FAC27
triadic
#A1AC27 #27A1AC #AC27A1
tetradic
#A1AC27 #27AC75 #3227AC #AC275F
square
#A1AC27 #27AC75 #3227AC #AC275F
split-complementary
#A1AC27 #275FAC #7527AC
monochromatic
#444810 #727A1C #A1AC27 #C7D33D #D5DE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AC27#FFFFFF#000000##000000
##A1AC271.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)
#B9A300
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#ACA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac27;
/* rgb */ color: rgb(161, 172, 39);
/* oklch */ color: oklch(71.3% 0.149 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c46d',
    500: '#a1ac27',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac27;
$custom-light: #c0c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac27",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 64.962,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71255,
    "c": 0.14851,
    "h": 114.4
  },
  "luminance": 0.37229
}

Semantic roles & 50–950 ramp

primary
#A1AC27
secondary
#716AC5
accent
#42E64F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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