#A1A822#A1A822

#A1A822 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.147 H 112.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A1A822
RGBrgb(161, 168, 34)
HSLhsl(63, 66%, 40%)
HSVhsv(63, 80%, 66%)
CMYKcmyk(4.2%, 0%, 79.8%, 34.1%)
CIE-LABlab(66.29, -18.12, 62.23)
CIE-LCHlch(66.29, 64.82, 106.24°)
OKLaboklab(70.32% -0.0567 0.1353)
OKLCHoklch(70.32% 0.147 112.8)
XYZxyz(28.9903, 35.6985, 6.8764)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A822 #2922A8
analogous
#A86C22 #A1A822 #5EA822
triadic
#A1A822 #22A1A8 #A822A1
tetradic
#A1A822 #22A86C #2922A8 #A8225E
square
#A1A822 #22A86C #2922A8 #A8225E
split-complementary
#A1A822 #225EA8 #6C22A8
monochromatic
#3F420D #707518 #A1A822 #CDD532 #D9E065

Accessibility & contrast

On white

2.58
#A1A822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A1A822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A822
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A822#FFFFFF#000000##000000
##A1A8221.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B5A32F
Tritanopia (blue-blind)
#AC9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a1a822;
/* rgb */ color: rgb(161, 168, 34);
/* oklch */ color: oklch(70.3% 0.147 112.8);
Tailwind
colors: {
  custom: {
    50: '#c1c16a',
    500: '#a1a822',
    950: '#000000',
  },
}
SCSS
$custom: #a1a822;
$custom-light: #c1c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a822",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 63.134,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70318,
    "c": 0.14672,
    "h": 112.8
  },
  "luminance": 0.35698
}

Semantic roles & 50–950 ramp

primary
#A1A822
secondary
#6661C5
accent
#3FE947
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A1A822

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

Preview Lab → · Contrast checker → · Palette generator →

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