#A2A720#A2A720

#A2A720 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.146 H 111.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A2A720
RGBrgb(162, 167, 32)
HSLhsl(62, 68%, 39%)
HSVhsv(62, 81%, 65%)
CMYKcmyk(3%, 0%, 80.8%, 34.5%)
CIE-LABlab(66.08, -17.25, 62.64)
CIE-LCHlch(66.08, 64.98, 105.40°)
OKLaboklab(70.17% -0.0545 0.1358)
OKLCHoklch(70.17% 0.146 111.9)
XYZxyz(28.9807, 35.4239, 6.6771)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A720 #2520A7
analogous
#A76920 #A2A720 #5FA720
triadic
#A2A720 #20A2A7 #A720A2
tetradic
#A2A720 #20A769 #2520A7 #A7205F
square
#A2A720 #20A769 #2520A7 #A7205F
split-complementary
#A2A720 #205FA7 #6920A7
monochromatic
#3E400C #707416 #A2A720 #D1D72D #DCE161

Accessibility & contrast

On white

2.60
#A2A720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A2A720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A720
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A720#FFFFFF#000000##000000
##A2A7201.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#AE9C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a720;
/* rgb */ color: rgb(162, 167, 32);
/* oklch */ color: oklch(70.2% 0.146 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c069',
    500: '#a2a720',
    950: '#000000',
  },
}
SCSS
$custom: #a2a720;
$custom-light: #c1c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a720",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 62.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70166,
    "c": 0.14632,
    "h": 111.9
  },
  "luminance": 0.35423
}

Semantic roles & 50–950 ramp

primary
#A2A720
secondary
#615DC5
accent
#3DEB44
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A720

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

Preview Lab → · Contrast checker → · Palette generator →

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