#A1A126#A1A126

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

Color values

HEX#A1A126
RGBrgb(161, 161, 38)
HSLhsl(60, 62%, 39%)
HSVhsv(60, 76%, 63%)
CMYKcmyk(0%, 0%, 76.4%, 36.9%)
CIE-LABlab(64.33, -14.37, 59.23)
CIE-LCHlch(64.33, 60.95, 103.64°)
OKLaboklab(68.76% -0.046 0.1296)
OKLCHoklch(68.76% 0.138 109.5)
XYZxyz(27.7937, 33.2076, 6.7790)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A126 #2626A1
analogous
#A16426 #A1A126 #64A126
triadic
#A1A126 #26A1A1 #A126A1
tetradic
#A1A126 #26A164 #2626A1 #A12664
square
#A1A126 #26A164 #2626A1 #A12664
split-complementary
#A1A126 #2664A1 #6426A1
monochromatic
#3E3E0F #6F6F1A #A1A126 #CFCF35 #DBDB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A126#FFFFFF#000000##000000
##A1A1261.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)
#AE9A06
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#AD968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a1a126;
/* rgb */ color: rgb(161, 161, 38);
/* oklch */ color: oklch(68.8% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#c0bc6b',
    500: '#a1a126',
    950: '#000000',
  },
}
SCSS
$custom: #a1a126;
$custom-light: #c0bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a126",
  "rgb": {
    "r": 161,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.13755,
    "h": 109.5
  },
  "luminance": 0.33207
}

Semantic roles & 50–950 ramp

primary
#A1A126
secondary
#6262C1
accent
#43E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A126

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

Preview Lab → · Contrast checker → · Palette generator →

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