#A1BB28#A1BB28

#A1BB28 is a light, vivid yellow-green. Relative luminance 0.433; OKLCH L 74.7% C 0.165 H 119.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#A1BB28
RGBrgb(161, 187, 40)
HSLhsl(71, 65%, 45%)
HSVhsv(71, 79%, 73%)
CMYKcmyk(13.9%, 0%, 78.6%, 26.7%)
CIE-LABlab(71.74, -27.29, 65.37)
CIE-LCHlch(71.74, 70.83, 112.66°)
OKLaboklab(74.71% -0.0815 0.143)
OKLCHoklch(74.71% 0.165 119.7)
XYZxyz(32.8520, 43.2711, 8.6286)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BB28 #4228BB
analogous
#BB8C28 #A1BB28 #58BB28
triadic
#A1BB28 #28A1BB #BB28A1
tetradic
#A1BB28 #28BB8C #4228BB #BB2858
square
#A1BB28 #28BB8C #4228BB #BB2858
split-complementary
#A1BB28 #2858BB #8C28BB
monochromatic
#4A5612 #76891D #A1BB28 #BFD848 #D0E37B

Accessibility & contrast

On white

2.18
#A1BB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#A1BB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BB28
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BB28#FFFFFF#000000##000000
##A1BB281.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#ABB1A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a1bb28;
/* rgb */ color: rgb(161, 187, 40);
/* oklch */ color: oklch(74.7% 0.165 119.7);
Tailwind
colors: {
  custom: {
    50: '#c1cf6f',
    500: '#a1bb28',
    950: '#000000',
  },
}
SCSS
$custom: #a1bb28;
$custom-light: #c1cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bb28",
  "rgb": {
    "r": 161,
    "g": 187,
    "b": 40
  },
  "hsl": {
    "h": 70.612,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74707,
    "c": 0.16464,
    "h": 119.7
  },
  "luminance": 0.43271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1BB28

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

Preview Lab → · Contrast checker → · Palette generator →

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