#A1A421#A1A421

#A1A421 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.143 H 111.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A1A421
RGBrgb(161, 164, 33)
HSLhsl(61, 66%, 39%)
HSVhsv(61, 80%, 64%)
CMYKcmyk(1.8%, 0%, 79.9%, 35.7%)
CIE-LABlab(65.15, -16.12, 61.51)
CIE-LCHlch(65.15, 63.59, 104.68°)
OKLaboklab(69.41% -0.0512 0.1336)
OKLCHoklch(69.41% 0.143 111)
XYZxyz(28.2489, 34.2386, 6.5592)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A421 #2421A4
analogous
#A46521 #A1A421 #5FA421
triadic
#A1A421 #21A1A4 #A421A1
tetradic
#A1A421 #21A465 #2421A4 #A4215F
square
#A1A421 #21A465 #2421A4 #A4215F
split-complementary
#A1A421 #215FA4 #6521A4
monochromatic
#3D3E0C #6F7117 #A1A421 #D1D52D #DCDF60

Accessibility & contrast

On white

2.68
#A1A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A1A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A421
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A421#FFFFFF#000000##000000
##A1A4211.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#AD998C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a1a421;
/* rgb */ color: rgb(161, 164, 33);
/* oklch */ color: oklch(69.4% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#c1be69',
    500: '#a1a421',
    950: '#000000',
  },
}
SCSS
$custom: #a1a421;
$custom-light: #c1be69;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a421",
  "rgb": {
    "r": 161,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 61.374,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69406,
    "c": 0.14307,
    "h": 111
  },
  "luminance": 0.34238
}

Semantic roles & 50–950 ramp

primary
#A1A421
secondary
#5F5DC4
accent
#3EE942
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A421

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

Preview Lab → · Contrast checker → · Palette generator →

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