#A1A728#A1A728

#A1A728 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.143 H 112.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A1A728
RGBrgb(161, 167, 40)
HSLhsl(63, 61%, 41%)
HSVhsv(63, 76%, 65%)
CMYKcmyk(3.6%, 0%, 76%, 34.5%)
CIE-LABlab(66.03, -17.37, 60.15)
CIE-LCHlch(66.03, 62.61, 106.11°)
OKLaboklab(70.12% -0.0542 0.132)
OKLCHoklch(70.12% 0.143 112.3)
XYZxyz(28.9006, 35.3684, 7.3114)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A728 #2E28A7
analogous
#A76E28 #A1A728 #61A728
triadic
#A1A728 #28A1A7 #A728A1
tetradic
#A1A728 #28A76E #2E28A7 #A72861
square
#A1A728 #28A76E #2E28A7 #A72861
split-complementary
#A1A728 #2861A7 #6E28A7
monochromatic
#424410 #71761C #A1A728 #C9D03C #D7DC6D

Accessibility & contrast

On white

2.60
#A1A728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A1A728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A728
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A728#FFFFFF#000000##000000
##A1A7281.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F08
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#AC9D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a728;
/* rgb */ color: rgb(161, 167, 40);
/* oklch */ color: oklch(70.1% 0.143 112.3);
Tailwind
colors: {
  custom: {
    50: '#c0c06d',
    500: '#a1a728',
    950: '#000000',
  },
}
SCSS
$custom: #a1a728;
$custom-light: #c0c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a728",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 62.835,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70124,
    "c": 0.14265,
    "h": 112.3
  },
  "luminance": 0.35368
}

Semantic roles & 50–950 ramp

primary
#A1A728
secondary
#6C68C3
accent
#43E44B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A728

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

Preview Lab → · Contrast checker → · Palette generator →

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