#A2BB22#A2BB22

#A2BB22 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.167 H 119.2°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#A2BB22
RGBrgb(162, 187, 34)
HSLhsl(70, 69%, 43%)
HSVhsv(70, 82%, 73%)
CMYKcmyk(13.4%, 0%, 81.8%, 26.7%)
CIE-LABlab(71.78, -27.10, 67.09)
CIE-LCHlch(71.78, 72.36, 111.99°)
OKLaboklab(74.75% -0.0815 0.1457)
OKLCHoklch(74.75% 0.167 119.2)
XYZxyz(32.9601, 43.3377, 8.1417)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB22 #3B22BB
analogous
#BB8722 #A2BB22 #55BB22
triadic
#A2BB22 #22A2BB #BB22A2
tetradic
#A2BB22 #22BB87 #3B22BB #BB2255
square
#A2BB22 #22BB87 #3B22BB #BB2255
split-complementary
#A2BB22 #2255BB #8722BB
monochromatic
#48530F #758719 #A2BB22 #C2DC3E #D3E572

Accessibility & contrast

On white

2.17
#A2BB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#A2BB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB22
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB22#FFFFFF#000000##000000
##A2BB221.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C5B033
Tritanopia (blue-blind)
#ACB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb22;
/* rgb */ color: rgb(162, 187, 34);
/* oklch */ color: oklch(74.8% 0.167 119.2);
Tailwind
colors: {
  custom: {
    50: '#c2cf6d',
    500: '#a2bb22',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb22;
$custom-light: #c2cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb22",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 34
  },
  "hsl": {
    "h": 69.804,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74753,
    "c": 0.16692,
    "h": 119.2
  },
  "luminance": 0.43338
}

Semantic roles & 50–950 ramp

primary
#A2BB22
secondary
#7C6DCC
accent
#3CEC59
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BB22

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

Preview Lab → · Contrast checker → · Palette generator →

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