#A2A122#A2A122

#A2A122 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.139 H 109.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A2A122
RGBrgb(162, 161, 34)
HSLhsl(60, 65%, 38%)
HSVhsv(60, 79%, 64%)
CMYKcmyk(0%, 0.6%, 79%, 36.5%)
CIE-LABlab(64.39, -14.09, 60.58)
CIE-LCHlch(64.39, 62.19, 103.09°)
OKLaboklab(68.82% -0.0456 0.1317)
OKLCHoklch(68.82% 0.139 109.1)
XYZxyz(27.9350, 33.2875, 6.4667)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A122 #2223A2
analogous
#A26122 #A2A122 #63A222
triadic
#A2A122 #22A2A1 #A122A2
tetradic
#A2A122 #22A261 #2223A2 #A22263
square
#A2A122 #22A261 #2223A2 #A22263
split-complementary
#A2A122 #2263A2 #6122A2
monochromatic
#3D3C0D #6F6F17 #A2A122 #D3D22E #DEDD61

Accessibility & contrast

On white

2.74
#A2A122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A2A122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A122
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A122#FFFFFF#000000##000000
##A2A1221.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a122;
/* rgb */ color: rgb(162, 161, 34);
/* oklch */ color: oklch(68.8% 0.139 109.1);
Tailwind
colors: {
  custom: {
    50: '#c1bc69',
    500: '#a2a122',
    950: '#000000',
  },
}
SCSS
$custom: #a2a122;
$custom-light: #c1bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a122",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 59.531,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.13938,
    "h": 109.1
  },
  "luminance": 0.33287
}

Semantic roles & 50–950 ramp

primary
#A2A122
secondary
#5D5EC3
accent
#41E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A122

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

Preview Lab → · Contrast checker → · Palette generator →

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