#A2BF42#A2BF42

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

Color values

HEX#A2BF42
RGBrgb(162, 191, 66)
HSLhsl(74, 49%, 50%)
HSVhsv(74, 65%, 75%)
CMYKcmyk(15.2%, 0%, 65.4%, 25.1%)
CIE-LABlab(73.11, -27.39, 57.53)
CIE-LCHlch(73.11, 63.71, 115.46°)
OKLaboklab(75.88% -0.0796 0.1307)
OKLCHoklch(75.88% 0.153 121.4)
XYZxyz(34.5149, 45.3363, 12.0857)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF42 #5F42BF
analogous
#BF9D42 #A2BF42 #63BF42
triadic
#A2BF42 #42A2BF #BF42A2
tetradic
#A2BF42 #42BF9D #5F42BF #BF4263
square
#A2BF42 #42BF9D #5F42BF #BF4263
split-complementary
#A2BF42 #4263BF #9D42BF
monochromatic
#556522 #7C9232 #A2BF42 #B8CE70 #CFDE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BF42#FFFFFF#000000##000000
##A2BF421.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2bf42;
/* rgb */ color: rgb(162, 191, 66);
/* oklch */ color: oklch(75.9% 0.153 121.4);
Tailwind
colors: {
  custom: {
    50: '#c0d27d',
    500: '#a2bf42',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf42;
$custom-light: #c0d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf42",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 73.92,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75883,
    "c": 0.15301,
    "h": 121.4
  },
  "luminance": 0.45336
}

Semantic roles & 50–950 ramp

primary
#A2BF42
secondary
#9F93CA
accent
#4FD96F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A2BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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