#A1A528#A1A528

#A1A528 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.141 H 111.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#A1A528
RGBrgb(161, 165, 40)
HSLhsl(62, 61%, 40%)
HSVhsv(62, 76%, 65%)
CMYKcmyk(2.4%, 0%, 75.8%, 35.3%)
CIE-LABlab(65.47, -16.35, 59.62)
CIE-LCHlch(65.47, 61.82, 105.34°)
OKLaboklab(69.67% -0.0513 0.1308)
OKLCHoklch(69.67% 0.141 111.4)
XYZxyz(28.5371, 34.6413, 7.1903)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A528 #2C28A5
analogous
#A56A28 #A1A528 #62A528
triadic
#A1A528 #28A1A5 #A528A1
tetradic
#A1A528 #28A56A #2C28A5 #A52862
square
#A1A528 #28A56A #2C28A5 #A52862
split-complementary
#A1A528 #2862A5 #6A28A5
monochromatic
#414210 #71741C #A1A528 #CBCF3B #D8DB6C

Accessibility & contrast

On white

2.65
#A1A528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#A1A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A528
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A528#FFFFFF#000000##000000
##A1A5281.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#AC9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a1a528;
/* rgb */ color: rgb(161, 165, 40);
/* oklch */ color: oklch(69.7% 0.141 111.4);
Tailwind
colors: {
  custom: {
    50: '#c0bf6c',
    500: '#a1a528',
    950: '#000000',
  },
}
SCSS
$custom: #a1a528;
$custom-light: #c0bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a528",
  "rgb": {
    "r": 161,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 61.92,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69671,
    "c": 0.14054,
    "h": 111.4
  },
  "luminance": 0.34641
}

Semantic roles & 50–950 ramp

primary
#A1A528
secondary
#6A67C2
accent
#44E449
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A528

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

Preview Lab → · Contrast checker → · Palette generator →

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