#A2BB28#A2BB28

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

Color values

HEX#A2BB28
RGBrgb(162, 187, 40)
HSLhsl(70, 65%, 45%)
HSVhsv(70, 79%, 73%)
CMYKcmyk(13.4%, 0%, 78.6%, 26.7%)
CIE-LABlab(71.81, -26.87, 65.46)
CIE-LCHlch(71.81, 70.76, 112.32°)
OKLaboklab(74.78% -0.0804 0.1432)
OKLCHoklch(74.78% 0.164 119.3)
XYZxyz(33.0543, 43.3754, 8.6380)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB28 #4128BB
analogous
#BB8B28 #A2BB28 #59BB28
triadic
#A2BB28 #28A2BB #BB28A2
tetradic
#A2BB28 #28BB8B #4128BB #BB2859
square
#A2BB28 #28BB8B #4128BB #BB2859
split-complementary
#A2BB28 #2859BB #8B28BB
monochromatic
#4B5612 #76891D #A2BB28 #BFD848 #D1E37B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BB28#FFFFFF#000000##000000
##A2BB281.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)
#C7B000
Deuteranopia (green-blind)
#C5B037
Tritanopia (blue-blind)
#ACB1A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2bb28;
/* rgb */ color: rgb(162, 187, 40);
/* oklch */ color: oklch(74.8% 0.164 119.3);
Tailwind
colors: {
  custom: {
    50: '#c1cf6f',
    500: '#a2bb28',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb28;
$custom-light: #c1cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb28",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 70.204,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74781,
    "c": 0.16425,
    "h": 119.3
  },
  "luminance": 0.43375
}

Semantic roles & 50–950 ramp

primary
#A2BB28
secondary
#8374CB
accent
#40E85D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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