#A1A028#A1A028

#A1A028 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.135 H 109.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A1A028
RGBrgb(161, 160, 40)
HSLhsl(60, 60%, 39%)
HSVhsv(60, 75%, 63%)
CMYKcmyk(0%, 0.6%, 75.2%, 36.9%)
CIE-LABlab(64.06, -13.76, 58.31)
CIE-LCHlch(64.06, 59.91, 103.28°)
OKLaboklab(68.54% -0.0441 0.1281)
OKLCHoklch(68.54% 0.135 109)
XYZxyz(27.6528, 32.8727, 6.8955)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A028 #2829A1
analogous
#A16428 #A1A028 #66A128
triadic
#A1A028 #28A1A0 #A028A1
tetradic
#A1A028 #28A164 #2829A1 #A12866
square
#A1A028 #28A164 #2829A1 #A12866
split-complementary
#A1A028 #2866A1 #6428A1
monochromatic
#3F3F10 #706F1C #A1A028 #CECC39 #DAD96A

Accessibility & contrast

On white

2.77
#A1A028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#A1A028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A028
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A028#FFFFFF#000000##000000
##A1A0281.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990D
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#AD9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a1a028;
/* rgb */ color: rgb(161, 160, 40);
/* oklch */ color: oklch(68.5% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#c0bb6c',
    500: '#a1a028',
    950: '#000000',
  },
}
SCSS
$custom: #a1a028;
$custom-light: #c0bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a028",
  "rgb": {
    "r": 161,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 59.504,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68543,
    "c": 0.13544,
    "h": 109
  },
  "luminance": 0.32872
}

Semantic roles & 50–950 ramp

primary
#A1A028
secondary
#6565C0
accent
#46E344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A1A028

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

Preview Lab → · Contrast checker → · Palette generator →

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