#A1A328#A1A328

#A1A328 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.138 H 110.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A1A328
RGBrgb(161, 163, 40)
HSLhsl(61, 61%, 40%)
HSVhsv(61, 75%, 64%)
CMYKcmyk(1.2%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.90, -15.32, 59.10)
CIE-LCHlch(64.90, 61.05, 104.53°)
OKLaboklab(69.22% -0.0485 0.1297)
OKLCHoklch(69.22% 0.138 110.5)
XYZxyz(28.1791, 33.9254, 7.0709)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A328 #2A28A3
analogous
#A36828 #A1A328 #63A328
triadic
#A1A328 #28A1A3 #A328A1
tetradic
#A1A328 #28A368 #2A28A3 #A32863
square
#A1A328 #28A368 #2A28A3 #A32863
split-complementary
#A1A328 #2863A3 #6828A3
monochromatic
#404110 #70721C #A1A328 #CCCF3A #D9DB6B

Accessibility & contrast

On white

2.70
#A1A328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A1A328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A328
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A328#FFFFFF#000000##000000
##A1A3281.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0B
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a328;
/* rgb */ color: rgb(161, 163, 40);
/* oklch */ color: oklch(69.2% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0be6c',
    500: '#a1a328',
    950: '#000000',
  },
}
SCSS
$custom: #a1a328;
$custom-light: #c0be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a328",
  "rgb": {
    "r": 161,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 60.976,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69219,
    "c": 0.13849,
    "h": 110.5
  },
  "luminance": 0.33925
}

Semantic roles & 50–950 ramp

primary
#A1A328
secondary
#6766C1
accent
#44E447
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A328

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

Preview Lab → · Contrast checker → · Palette generator →

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