#A2BF2D#A2BF2D

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

Color values

HEX#A2BF2D
RGBrgb(162, 191, 45)
HSLhsl(72, 62%, 46%)
HSVhsv(72, 76%, 75%)
CMYKcmyk(15.2%, 0%, 76.4%, 25.1%)
CIE-LABlab(72.98, -28.58, 65.01)
CIE-LCHlch(72.98, 71.02, 113.73°)
OKLaboklab(75.73% -0.0847 0.1431)
OKLCHoklch(75.73% 0.166 120.6)
XYZxyz(34.0054, 45.1325, 9.4021)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF2D #4A2DBF
analogous
#BF932D #A2BF2D #59BF2D
triadic
#A2BF2D #2DA2BF #BF2DA2
tetradic
#A2BF2D #2DBF93 #4A2DBF #BF2D59
square
#A2BF2D #2DBF93 #4A2DBF #BF2D59
split-complementary
#A2BF2D #2D59BF #932DBF
monochromatic
#4E5C16 #788D21 #A2BF2D #BCD653 #CFE284

Accessibility & contrast

On white

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

On black

10.03
#A2BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF2D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF2D#FFFFFF#000000##000000
##A2BF2D1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB404
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#ABB5A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a2bf2d;
/* rgb */ color: rgb(162, 191, 45);
/* oklch */ color: oklch(75.7% 0.166 120.6);
Tailwind
colors: {
  custom: {
    50: '#c1d272',
    500: '#a2bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf2d;
$custom-light: #c1d272;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf2d",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 71.918,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75732,
    "c": 0.16631,
    "h": 120.6
  },
  "luminance": 0.45132
}

Semantic roles & 50–950 ramp

primary
#A2BF2D
secondary
#8C7CCB
accent
#43E563
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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