#A2BF45#A2BF45

#A2BF45 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.9% C 0.151 H 121.5°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#A2BF45
RGBrgb(162, 191, 69)
HSLhsl(74, 49%, 51%)
HSVhsv(74, 64%, 75%)
CMYKcmyk(15.2%, 0%, 63.9%, 25.1%)
CIE-LABlab(73.14, -27.18, 56.32)
CIE-LCHlch(73.14, 62.53, 115.76°)
OKLaboklab(75.91% -0.0787 0.1285)
OKLCHoklch(75.91% 0.151 121.5)
XYZxyz(34.6057, 45.3727, 12.5638)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF45 #6245BF
analogous
#BF9F45 #A2BF45 #65BF45
triadic
#A2BF45 #45A2BF #BF45A2
tetradic
#A2BF45 #45BF9F #6245BF #BF4565
square
#A2BF45 #45BF9F #6245BF #BF4565
split-complementary
#A2BF45 #4565BF #9F45BF
monochromatic
#566623 #7D9433 #A2BF45 #B9CF73 #D0DEA0

Accessibility & contrast

On white

2.08
#A2BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#A2BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF45
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF45#FFFFFF#000000##000000
##A2BF451.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB435
Deuteranopia (green-blind)
#C6B44E
Tritanopia (blue-blind)
#AAB6A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2bf45;
/* rgb */ color: rgb(162, 191, 69);
/* oklch */ color: oklch(75.9% 0.151 121.5);
Tailwind
colors: {
  custom: {
    50: '#c0d27e',
    500: '#a2bf45',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf45;
$custom-light: #c0d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf45",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 74.262,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7591,
    "c": 0.15073,
    "h": 121.5
  },
  "luminance": 0.45373
}

Semantic roles & 50–950 ramp

primary
#A2BF45
secondary
#A295CB
accent
#4FD870
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A2BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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