#A1BF40#A1BF40

#A1BF40 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.8% C 0.155 H 121.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#A1BF40
RGBrgb(161, 191, 64)
HSLhsl(74, 50%, 50%)
HSVhsv(74, 66%, 75%)
CMYKcmyk(15.7%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.03, -27.93, 58.22)
CIE-LCHlch(73.03, 64.57, 115.62°)
OKLaboklab(75.79% -0.0812 0.1319)
OKLCHoklch(75.79% 0.155 121.6)
XYZxyz(34.2546, 45.2088, 11.7711)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BF40 #5E40BF
analogous
#BF9D40 #A1BF40 #62BF40
triadic
#A1BF40 #40A1BF #BF40A1
tetradic
#A1BF40 #40BF9D #5E40BF #BF4062
square
#A1BF40 #40BF9D #5E40BF #BF4062
split-complementary
#A1BF40 #4062BF #9D40BF
monochromatic
#546321 #7A9131 #A1BF40 #B8CE6E #CEDE9C

Accessibility & contrast

On white

2.09
#A1BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#A1BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BF40
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BF40#FFFFFF#000000##000000
##A1BF401.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42E
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#A9B5A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a1bf40;
/* rgb */ color: rgb(161, 191, 64);
/* oklch */ color: oklch(75.8% 0.155 121.6);
Tailwind
colors: {
  custom: {
    50: '#c0d27b',
    500: '#a1bf40',
    950: '#000000',
  },
}
SCSS
$custom: #a1bf40;
$custom-light: #c0d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bf40",
  "rgb": {
    "r": 161,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 74.173,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.75793,
    "c": 0.15488,
    "h": 121.6
  },
  "luminance": 0.45209
}

Semantic roles & 50–950 ramp

primary
#A1BF40
secondary
#9E91CA
accent
#4ED96F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A1BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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