#A2A922#A2A922

#A2A922 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.147 H 112.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#A2A922
RGBrgb(162, 169, 34)
HSLhsl(63, 67%, 40%)
HSVhsv(63, 80%, 66%)
CMYKcmyk(4.1%, 0%, 79.9%, 33.7%)
CIE-LABlab(66.65, -18.20, 62.58)
CIE-LCHlch(66.65, 65.18, 106.21°)
OKLaboklab(70.63% -0.057 0.136)
OKLCHoklch(70.63% 0.147 112.7)
XYZxyz(29.3780, 36.1735, 6.9477)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A922 #2922A9
analogous
#A96C22 #A2A922 #5FA922
triadic
#A2A922 #22A2A9 #A922A2
tetradic
#A2A922 #22A96C #2922A9 #A9225F
square
#A2A922 #22A96C #2922A9 #A9225F
split-complementary
#A2A922 #225FA9 #6C22A9
monochromatic
#40430D #717618 #A2A922 #CDD632 #DAE065

Accessibility & contrast

On white

2.55
#A2A922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#A2A922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A922
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A922#FFFFFF#000000##000000
##A2A9221.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B6A42F
Tritanopia (blue-blind)
#AD9E90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a922;
/* rgb */ color: rgb(162, 169, 34);
/* oklch */ color: oklch(70.6% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#c1c26a',
    500: '#a2a922',
    950: '#000000',
  },
}
SCSS
$custom: #a2a922;
$custom-light: #c1c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a922",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 63.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70629,
    "c": 0.14748,
    "h": 112.7
  },
  "luminance": 0.36173
}

Semantic roles & 50–950 ramp

primary
#A2A922
secondary
#6761C5
accent
#3EE947
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A922

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

Preview Lab → · Contrast checker → · Palette generator →

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