#A2AC22#A2AC22

#A2AC22 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.3% C 0.151 H 114.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#A2AC22
RGBrgb(162, 172, 34)
HSLhsl(64, 67%, 40%)
HSVhsv(64, 80%, 67%)
CMYKcmyk(5.8%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.50, -19.71, 63.34)
CIE-LCHlch(67.50, 66.33, 107.29°)
OKLaboklab(71.31% -0.0612 0.1376)
OKLCHoklch(71.31% 0.151 114)
XYZxyz(29.9425, 37.3025, 7.1359)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC22 #2C22AC
analogous
#AC7122 #A2AC22 #5DAC22
triadic
#A2AC22 #22A2AC #AC22A2
tetradic
#A2AC22 #22AC71 #2C22AC #AC225D
square
#A2AC22 #22AC71 #2C22AC #AC225D
split-complementary
#A2AC22 #225DAC #7122AC
monochromatic
#42460E #727918 #A2AC22 #CBD734 #D8E167

Accessibility & contrast

On white

2.48
#A2AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#A2AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC22
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC22#FFFFFF#000000##000000
##A2AC221.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A62F
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ac22;
/* rgb */ color: rgb(162, 172, 34);
/* oklch */ color: oklch(71.3% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c46b',
    500: '#a2ac22',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac22;
$custom-light: #c1c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac22",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 64.348,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71311,
    "c": 0.15062,
    "h": 114
  },
  "luminance": 0.37302
}

Semantic roles & 50–950 ramp

primary
#A2AC22
secondary
#6A63C7
accent
#3EEA4A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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