#A1BC31#A1BC31

#A1BC31 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.0% C 0.161 H 120.2°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A1BC31
RGBrgb(161, 188, 49)
HSLhsl(72, 59%, 46%)
HSVhsv(72, 74%, 74%)
CMYKcmyk(14.4%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.07, -27.36, 62.83)
CIE-LCHlch(72.07, 68.53, 113.53°)
OKLaboklab(74.99% -0.081 0.1392)
OKLCHoklch(74.99% 0.161 120.2)
XYZxyz(33.2362, 43.7654, 9.6018)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BC31 #4C31BC
analogous
#BC9231 #A1BC31 #5BBC31
triadic
#A1BC31 #31A1BC #BC31A1
tetradic
#A1BC31 #31BC92 #4C31BC #BC315B
square
#A1BC31 #31BC92 #4C31BC #BC315B
split-complementary
#A1BC31 #315BBC #9231BC
monochromatic
#4E5B18 #778B24 #A1BC31 #BBD357 #CFE088

Accessibility & contrast

On white

2.15
#A1BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A1BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BC31
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BC31#FFFFFF#000000##000000
##A1BC311.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B113
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#AAB2A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a1bc31;
/* rgb */ color: rgb(161, 188, 49);
/* oklch */ color: oklch(75.0% 0.161 120.2);
Tailwind
colors: {
  custom: {
    50: '#c0d073',
    500: '#a1bc31',
    950: '#000000',
  },
}
SCSS
$custom: #a1bc31;
$custom-light: #c0d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bc31",
  "rgb": {
    "r": 161,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 71.655,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7499,
    "c": 0.16104,
    "h": 120.2
  },
  "luminance": 0.43765
}

Semantic roles & 50–950 ramp

primary
#A1BC31
secondary
#8E7FCA
accent
#46E264
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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