#A2BB31#A2BB31

#A2BB31 is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.8% C 0.159 H 119.5°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#A2BB31
RGBrgb(162, 187, 49)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 74%, 73%)
CMYKcmyk(13.4%, 0%, 73.8%, 26.7%)
CIE-LABlab(71.86, -26.47, 62.64)
CIE-LCHlch(71.86, 68.00, 112.90°)
OKLaboklab(74.83% -0.0786 0.1388)
OKLCHoklch(74.83% 0.159 119.5)
XYZxyz(33.2257, 43.4440, 9.5403)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB31 #4A31BB
analogous
#BB8F31 #A2BB31 #5DBB31
triadic
#A2BB31 #31A2BB #BB31A2
tetradic
#A2BB31 #31BB8F #4A31BB #BB315D
square
#A2BB31 #31BB8F #4A31BB #BB315D
split-complementary
#A2BB31 #315DBB #8F31BB
monochromatic
#4E5A18 #788B24 #A2BB31 #BCD356 #CFE087

Accessibility & contrast

On white

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

On black

9.69
#A2BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB31
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB31#FFFFFF#000000##000000
##A2BB311.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#ACB1A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb31;
/* rgb */ color: rgb(162, 187, 49);
/* oklch */ color: oklch(74.8% 0.159 119.5);
Tailwind
colors: {
  custom: {
    50: '#c1cf73',
    500: '#a2bb31',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb31;
$custom-light: #c1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb31",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 70.87,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.15949,
    "h": 119.5
  },
  "luminance": 0.43444
}

Semantic roles & 50–950 ramp

primary
#A2BB31
secondary
#8C7FC9
accent
#46E262
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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