#A2A820#A2A820

#A2A820 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.147 H 112.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#A2A820
RGBrgb(162, 168, 32)
HSLhsl(63, 68%, 39%)
HSVhsv(63, 81%, 66%)
CMYKcmyk(3.6%, 0%, 81%, 34.1%)
CIE-LABlab(66.36, -17.76, 62.89)
CIE-LCHlch(66.36, 65.35, 105.77°)
OKLaboklab(70.39% -0.0559 0.1363)
OKLCHoklch(70.39% 0.147 112.3)
XYZxyz(29.1646, 35.7917, 6.7384)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A820 #2620A8
analogous
#A86A20 #A2A820 #5EA820
triadic
#A2A820 #20A2A8 #A820A2
tetradic
#A2A820 #20A86A #2620A8 #A8205E
square
#A2A820 #20A86A #2620A8 #A8205E
split-complementary
#A2A820 #205EA8 #6A20A8
monochromatic
#3F410C #707516 #A2A820 #D0D72E #DBE161

Accessibility & contrast

On white

2.57
#A2A820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#A2A820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A820
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A820#FFFFFF#000000##000000
##A2A8201.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a820;
/* rgb */ color: rgb(162, 168, 32);
/* oklch */ color: oklch(70.4% 0.147 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c169',
    500: '#a2a820',
    950: '#000000',
  },
}
SCSS
$custom: #a2a820;
$custom-light: #c1c169;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a820",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 62.647,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70393,
    "c": 0.14735,
    "h": 112.3
  },
  "luminance": 0.35791
}

Semantic roles & 50–950 ramp

primary
#A2A820
secondary
#635EC6
accent
#3DEB45
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A820

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

Preview Lab → · Contrast checker → · Palette generator →

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