#A1A326#A1A326

#A1A326 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.140 H 110.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A1A326
RGBrgb(161, 163, 38)
HSLhsl(61, 62%, 39%)
HSVhsv(61, 77%, 64%)
CMYKcmyk(1.2%, 0%, 76.7%, 36.1%)
CIE-LABlab(64.89, -15.41, 59.75)
CIE-LCHlch(64.89, 61.70, 104.46°)
OKLaboklab(69.21% -0.0489 0.1307)
OKLCHoklch(69.21% 0.14 110.5)
XYZxyz(28.1460, 33.9122, 6.8964)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A326 #2826A3
analogous
#A36726 #A1A326 #63A326
triadic
#A1A326 #26A1A3 #A326A1
tetradic
#A1A326 #26A367 #2826A3 #A32663
square
#A1A326 #26A367 #2826A3 #A32663
split-complementary
#A1A326 #2663A3 #6726A3
monochromatic
#3F400F #70711A #A1A326 #CED036 #DADC68

Accessibility & contrast

On white

2.70
#A1A326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A1A326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A326
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A326#FFFFFF#000000##000000
##A1A3261.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C05
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a326;
/* rgb */ color: rgb(161, 163, 38);
/* oklch */ color: oklch(69.2% 0.140 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0be6b',
    500: '#a1a326',
    950: '#000000',
  },
}
SCSS
$custom: #a1a326;
$custom-light: #c0be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a326",
  "rgb": {
    "r": 161,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 60.96,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69207,
    "c": 0.13958,
    "h": 110.5
  },
  "luminance": 0.33911
}

Semantic roles & 50–950 ramp

primary
#A1A326
secondary
#6563C2
accent
#43E545
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A326

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

Preview Lab → · Contrast checker → · Palette generator →

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