#A1A128#A1A128

#A1A128 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.136 H 109.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A1A128
RGBrgb(161, 161, 40)
HSLhsl(60, 60%, 39%)
HSVhsv(60, 75%, 63%)
CMYKcmyk(0%, 0%, 75.2%, 36.9%)
CIE-LABlab(64.34, -14.28, 58.57)
CIE-LCHlch(64.34, 60.29, 103.71°)
OKLaboklab(68.77% -0.0456 0.1286)
OKLCHoklch(68.77% 0.136 109.5)
XYZxyz(27.8268, 33.2208, 6.9535)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A128 #2828A1
analogous
#A16528 #A1A128 #65A128
triadic
#A1A128 #28A1A1 #A128A1
tetradic
#A1A128 #28A165 #2828A1 #A12865
square
#A1A128 #28A165 #2828A1 #A12865
split-complementary
#A1A128 #2865A1 #6528A1
monochromatic
#3F3F10 #70701C #A1A128 #CECE39 #DADA6A

Accessibility & contrast

On white

2.75
#A1A128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A1A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A128
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A128#FFFFFF#000000##000000
##A1A1281.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0C
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#AD968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a1a128;
/* rgb */ color: rgb(161, 161, 40);
/* oklch */ color: oklch(68.8% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#c0bc6c',
    500: '#a1a128',
    950: '#000000',
  },
}
SCSS
$custom: #a1a128;
$custom-light: #c0bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a128",
  "rgb": {
    "r": 161,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68768,
    "c": 0.13645,
    "h": 109.5
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

primary
#A1A128
secondary
#6565C0
accent
#44E344
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A128

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

Preview Lab → · Contrast checker → · Palette generator →

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