#A1BC28#A1BC28

#A1BC28 is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.9% C 0.166 H 120.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#A1BC28
RGBrgb(161, 188, 40)
HSLhsl(71, 65%, 45%)
HSVhsv(71, 79%, 74%)
CMYKcmyk(14.4%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.03, -27.77, 65.63)
CIE-LCHlch(72.03, 71.26, 112.93°)
OKLaboklab(74.94% -0.0828 0.1436)
OKLCHoklch(74.94% 0.166 120)
XYZxyz(33.0648, 43.6968, 8.6995)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC28 #4328BC
analogous
#BC8D28 #A1BC28 #57BC28
triadic
#A1BC28 #28A1BC #BC28A1
tetradic
#A1BC28 #28BC8D #4328BC #BC2857
square
#A1BC28 #28BC8D #4328BC #BC2857
split-complementary
#A1BC28 #2857BC #8D28BC
monochromatic
#4B5713 #768A1D #A1BC28 #BED849 #D0E37B

Accessibility & contrast

On white

2.16
#A1BC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#A1BC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BC28
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BC28#FFFFFF#000000##000000
##A1BC281.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#ABB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc28;
/* rgb */ color: rgb(161, 188, 40);
/* oklch */ color: oklch(74.9% 0.166 120.0);
Tailwind
colors: {
  custom: {
    50: '#c1d06f',
    500: '#a1bc28',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc28;
$custom-light: #c1d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc28",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 70.946,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74938,
    "c": 0.16578,
    "h": 120
  },
  "luminance": 0.43697
}

Semantic roles & 50–950 ramp

primary
#A1BC28
secondary
#8475CB
accent
#40E85F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1BC28

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

Preview Lab → · Contrast checker → · Palette generator →

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