#A2B322#A2B322

#A2B322 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.158 H 116.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A2B322
RGBrgb(162, 179, 34)
HSLhsl(67, 68%, 42%)
HSVhsv(67, 81%, 70%)
CMYKcmyk(9.5%, 0%, 81%, 29.8%)
CIE-LABlab(69.50, -23.20, 65.09)
CIE-LCHlch(69.50, 69.10, 109.62°)
OKLaboklab(72.91% -0.0708 0.1414)
OKLCHoklch(72.91% 0.158 116.6)
XYZxyz(31.3100, 40.0375, 7.5917)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B322 #3322B3
analogous
#B37B22 #A2B322 #5AB322
triadic
#A2B322 #22A2B3 #B322A2
tetradic
#A2B322 #22B37B #3322B3 #B3225A
square
#A2B322 #22B37B #3322B3 #B3225A
split-complementary
#A2B322 #225AB3 #7B22B3
monochromatic
#454C0E #738018 #A2B322 #C7D939 #D5E36C

Accessibility & contrast

On white

2.33
#A2B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A2B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B322
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B322#FFFFFF#000000##000000
##A2B3221.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAB31
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b322;
/* rgb */ color: rgb(162, 179, 34);
/* oklch */ color: oklch(72.9% 0.158 116.6);
Tailwind
colors: {
  custom: {
    50: '#c1c96c',
    500: '#a2b322',
    950: '#000000',
  },
}
SCSS
$custom: #a2b322;
$custom-light: #c1c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b322",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 67.034,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72912,
    "c": 0.15812,
    "h": 116.6
  },
  "luminance": 0.40037
}

Semantic roles & 50–950 ramp

primary
#A2B322
secondary
#7368C9
accent
#3DEB51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B322

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

Preview Lab → · Contrast checker → · Palette generator →

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