#A1BF34#A1BF34

#A1BF34 is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.7% C 0.163 H 121.2°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#A1BF34
RGBrgb(161, 191, 52)
HSLhsl(73, 57%, 48%)
HSVhsv(73, 73%, 75%)
CMYKcmyk(15.7%, 0%, 72.8%, 25.1%)
CIE-LABlab(72.95, -28.64, 62.64)
CIE-LCHlch(72.95, 68.88, 114.57°)
OKLaboklab(75.7% -0.0843 0.1393)
OKLCHoklch(75.7% 0.163 121.2)
XYZxyz(33.9491, 45.0866, 10.1622)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BF34 #5234BF
analogous
#BF9834 #A1BF34 #5BBF34
triadic
#A1BF34 #34A1BF #BF34A1
tetradic
#A1BF34 #34BF98 #5234BF #BF345B
square
#A1BF34 #34BF98 #5234BF #BF345B
split-complementary
#A1BF34 #345BBF #9834BF
monochromatic
#505F1A #788F27 #A1BF34 #BAD35D #CEE08D

Accessibility & contrast

On white

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

On black

10.02
#A1BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BF34
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BF34#FFFFFF#000000##000000
##A1BF341.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB419
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#AAB5A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a1bf34;
/* rgb */ color: rgb(161, 191, 52);
/* oklch */ color: oklch(75.7% 0.163 121.2);
Tailwind
colors: {
  custom: {
    50: '#c0d275',
    500: '#a1bf34',
    950: '#000000',
  },
}
SCSS
$custom: #a1bf34;
$custom-light: #c0d275;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bf34",
  "rgb": {
    "r": 161,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 72.95,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75703,
    "c": 0.16281,
    "h": 121.2
  },
  "luminance": 0.45087
}

Semantic roles & 50–950 ramp

primary
#A1BF34
secondary
#9384CA
accent
#47E068
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A1BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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