#A2BF40#A2BF40

#A2BF40 is a light, vivid yellow-green. Relative luminance 0.453; OKLCH L 75.9% C 0.154 H 121.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#A2BF40
RGBrgb(162, 191, 64)
HSLhsl(74, 50%, 50%)
HSVhsv(74, 66%, 75%)
CMYKcmyk(15.2%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.10, -27.52, 58.32)
CIE-LCHlch(73.10, 64.48, 115.27°)
OKLaboklab(75.87% -0.0802 0.132)
OKLCHoklch(75.87% 0.154 121.3)
XYZxyz(34.4570, 45.3132, 11.7806)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF40 #5D40BF
analogous
#BF9D40 #A2BF40 #62BF40
triadic
#A2BF40 #40A2BF #BF40A2
tetradic
#A2BF40 #40BF9D #5D40BF #BF4062
square
#A2BF40 #40BF9D #5D40BF #BF4062
split-complementary
#A2BF40 #4062BF #9D40BF
monochromatic
#546321 #7B9131 #A2BF40 #B8CE6E #CFDE9C

Accessibility & contrast

On white

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

On black

10.06
#A2BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF40
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF40#FFFFFF#000000##000000
##A2BF401.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2bf40;
/* rgb */ color: rgb(162, 191, 64);
/* oklch */ color: oklch(75.9% 0.154 121.3);
Tailwind
colors: {
  custom: {
    50: '#c1d27c',
    500: '#a2bf40',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf40;
$custom-light: #c1d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf40",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 73.701,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.75866,
    "c": 0.15447,
    "h": 121.3
  },
  "luminance": 0.45313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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