#A1BB31#A1BB31

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

Color values

HEX#A1BB31
RGBrgb(161, 187, 49)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 74%, 73%)
CMYKcmyk(13.9%, 0%, 73.8%, 26.7%)
CIE-LABlab(71.78, -26.88, 62.55)
CIE-LCHlch(71.78, 68.08, 113.25°)
OKLaboklab(74.76% -0.0797 0.1386)
OKLCHoklch(74.76% 0.16 119.9)
XYZxyz(33.0233, 43.3396, 9.5308)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BB31 #4B31BB
analogous
#BB9031 #A1BB31 #5CBB31
triadic
#A1BB31 #31A1BB #BB31A1
tetradic
#A1BB31 #31BB90 #4B31BB #BB315C
square
#A1BB31 #31BB90 #4B31BB #BB315C
split-complementary
#A1BB31 #315CBB #9031BB
monochromatic
#4E5A18 #778B24 #A1BB31 #BBD356 #CFE087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1BB31#FFFFFF#000000##000000
##A1BB311.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)
#C7B014
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#AAB1A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a1bb31;
/* rgb */ color: rgb(161, 187, 49);
/* oklch */ color: oklch(74.8% 0.160 119.9);
Tailwind
colors: {
  custom: {
    50: '#c0cf73',
    500: '#a1bb31',
    950: '#000000',
  },
}
SCSS
$custom: #a1bb31;
$custom-light: #c0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bb31",
  "rgb": {
    "r": 161,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 71.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74759,
    "c": 0.15989,
    "h": 119.9
  },
  "luminance": 0.43339
}

Semantic roles & 50–950 ramp

primary
#A1BB31
secondary
#8D7FC9
accent
#46E263
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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