#A2BF34#A2BF34

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

Color values

HEX#A2BF34
RGBrgb(162, 191, 52)
HSLhsl(73, 57%, 48%)
HSVhsv(73, 73%, 75%)
CMYKcmyk(15.2%, 0%, 72.8%, 25.1%)
CIE-LABlab(73.02, -28.23, 62.73)
CIE-LCHlch(73.02, 68.79, 114.23°)
OKLaboklab(75.78% -0.0832 0.1395)
OKLCHoklch(75.78% 0.162 120.8)
XYZxyz(34.1515, 45.1910, 10.1717)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF34 #5134BF
analogous
#BF9734 #A2BF34 #5CBF34
triadic
#A2BF34 #34A2BF #BF34A2
tetradic
#A2BF34 #34BF97 #5134BF #BF345C
square
#A2BF34 #34BF97 #5134BF #BF345C
split-complementary
#A2BF34 #345CBF #9734BF
monochromatic
#505F1A #798F27 #A2BF34 #BAD35D #CFE08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BF34#FFFFFF#000000##000000
##A2BF341.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)
#CBB419
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#ABB5A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a2bf34;
/* rgb */ color: rgb(162, 191, 52);
/* oklch */ color: oklch(75.8% 0.162 120.8);
Tailwind
colors: {
  custom: {
    50: '#c1d275',
    500: '#a2bf34',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf34;
$custom-light: #c1d275;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf34",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 72.518,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.1624,
    "h": 120.8
  },
  "luminance": 0.45191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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