#A1AC28#A1AC28

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

Color values

HEX#A1AC28
RGBrgb(161, 172, 40)
HSLhsl(65, 62%, 42%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(6.4%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.45, -19.91, 61.46)
CIE-LCHlch(67.45, 64.60, 107.95°)
OKLaboklab(71.26% -0.0612 0.1347)
OKLCHoklch(71.26% 0.148 114.4)
XYZxyz(29.8344, 37.2359, 7.6227)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC28 #3328AC
analogous
#AC7528 #A1AC28 #5FAC28
triadic
#A1AC28 #28A1AC #AC28A1
tetradic
#A1AC28 #28AC75 #3328AC #AC285F
square
#A1AC28 #28AC75 #3328AC #AC285F
split-complementary
#A1AC28 #285FAC #7528AC
monochromatic
#444911 #737A1C #A1AC28 #C6D23F #D5DE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1AC28#FFFFFF#000000##000000
##A1AC281.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)
#B9A304
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#ACA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac28;
/* rgb */ color: rgb(161, 172, 40);
/* oklch */ color: oklch(71.3% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c46d',
    500: '#a1ac28',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac28;
$custom-light: #c0c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac28",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 65,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.14798,
    "h": 114.4
  },
  "luminance": 0.37235
}

Semantic roles & 50–950 ramp

primary
#A1AC28
secondary
#726BC5
accent
#42E550
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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