#A2A022#A2A022

#A2A022 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.6% C 0.138 H 108.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A2A022
RGBrgb(162, 160, 34)
HSLhsl(59, 65%, 38%)
HSVhsv(59, 79%, 64%)
CMYKcmyk(0%, 1.2%, 79%, 36.5%)
CIE-LABlab(64.11, -13.57, 60.33)
CIE-LCHlch(64.11, 61.83, 102.67°)
OKLaboklab(68.6% -0.0441 0.1312)
OKLCHoklch(68.6% 0.138 108.6)
XYZxyz(27.7609, 32.9394, 6.4087)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A022 #2224A2
analogous
#A26022 #A2A022 #64A222
triadic
#A2A022 #22A2A0 #A022A2
tetradic
#A2A022 #22A260 #2224A2 #A22264
square
#A2A022 #22A260 #2224A2 #A22264
split-complementary
#A2A022 #2264A2 #6022A2
monochromatic
#3D3C0D #6F6E17 #A2A022 #D3D12E #DEDC61

Accessibility & contrast

On white

2.77
#A2A022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A2A022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A022
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A022#FFFFFF#000000##000000
##A2A0221.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B09D2D
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a2a022;
/* rgb */ color: rgb(162, 160, 34);
/* oklch */ color: oklch(68.6% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#c1bb69',
    500: '#a2a022',
    950: '#000000',
  },
}
SCSS
$custom: #a2a022;
$custom-light: #c1bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a022",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 59.063,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68597,
    "c": 0.13841,
    "h": 108.6
  },
  "luminance": 0.32938
}

Semantic roles & 50–950 ramp

primary
#A2A022
secondary
#5D5FC3
accent
#42E840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A2A022

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

Preview Lab → · Contrast checker → · Palette generator →

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