#A1A327#A1A327

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

Color values

HEX#A1A327
RGBrgb(161, 163, 39)
HSLhsl(61, 61%, 40%)
HSVhsv(61, 76%, 64%)
CMYKcmyk(1.2%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.90, -15.36, 59.43)
CIE-LCHlch(64.90, 61.38, 104.50°)
OKLaboklab(69.21% -0.0487 0.1302)
OKLCHoklch(69.21% 0.139 110.5)
XYZxyz(28.1624, 33.9187, 6.9825)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A327 #2927A3
analogous
#A36727 #A1A327 #63A327
triadic
#A1A327 #27A1A3 #A327A1
tetradic
#A1A327 #27A367 #2927A3 #A32763
square
#A1A327 #27A367 #2927A3 #A32763
split-complementary
#A1A327 #2763A3 #6727A3
monochromatic
#3F400F #70721B #A1A327 #CDCF38 #D9DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1A327#FFFFFF#000000##000000
##A1A3271.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)
#B09C08
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a327;
/* rgb */ color: rgb(161, 163, 39);
/* oklch */ color: oklch(69.2% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#c0be6c',
    500: '#a1a327',
    950: '#000000',
  },
}
SCSS
$custom: #a1a327;
$custom-light: #c0be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a327",
  "rgb": {
    "r": 161,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 60.968,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69213,
    "c": 0.13903,
    "h": 110.5
  },
  "luminance": 0.33918
}

Semantic roles & 50–950 ramp

primary
#A1A327
secondary
#6664C1
accent
#43E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A327

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

Preview Lab → · Contrast checker → · Palette generator →

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