#A1BF27#A1BF27

#A1BF27 is a light, vivid yellow-green. Relative luminance 0.450; OKLCH L 75.6% C 0.170 H 120.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#A1BF27
RGBrgb(161, 191, 39)
HSLhsl(72, 66%, 45%)
HSVhsv(72, 80%, 75%)
CMYKcmyk(15.7%, 0%, 79.6%, 25.1%)
CIE-LABlab(72.88, -29.24, 66.69)
CIE-LCHlch(72.88, 72.81, 113.68°)
OKLaboklab(75.63% -0.0869 0.1457)
OKLCHoklch(75.63% 0.17 120.8)
XYZxyz(33.6956, 44.9852, 8.8269)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BF27 #4527BF
analogous
#BF9127 #A1BF27 #55BF27
triadic
#A1BF27 #27A1BF #BF27A1
tetradic
#A1BF27 #27BF91 #4527BF #BF2755
square
#A1BF27 #27BF91 #4527BF #BF2755
split-complementary
#A1BF27 #2755BF #9127BF
monochromatic
#4B5912 #768C1D #A1BF27 #BDDA49 #D0E47C

Accessibility & contrast

On white

2.10
#A1BF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#A1BF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BF27
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BF27#FFFFFF#000000##000000
##A1BF271.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#AAB5A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a1bf27;
/* rgb */ color: rgb(161, 191, 39);
/* oklch */ color: oklch(75.6% 0.170 120.8);
Tailwind
colors: {
  custom: {
    50: '#c1d26f',
    500: '#a1bf27',
    950: '#000000',
  },
}
SCSS
$custom: #a1bf27;
$custom-light: #c1d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bf27",
  "rgb": {
    "r": 161,
    "g": 191,
    "b": 39
  },
  "hsl": {
    "h": 71.842,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75628,
    "c": 0.16965,
    "h": 120.8
  },
  "luminance": 0.44985
}

Semantic roles & 50–950 ramp

primary
#A1BF27
secondary
#8775CC
accent
#3FE960
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A1BF27

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

Preview Lab → · Contrast checker → · Palette generator →

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