#A2BF2F#A2BF2F

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

Color values

HEX#A2BF2F
RGBrgb(162, 191, 47)
HSLhsl(72, 61%, 47%)
HSVhsv(72, 75%, 75%)
CMYKcmyk(15.2%, 0%, 75.4%, 25.1%)
CIE-LABlab(72.99, -28.48, 64.38)
CIE-LCHlch(72.99, 70.40, 113.86°)
OKLaboklab(75.74% -0.0843 0.1421)
OKLCHoklch(75.74% 0.165 120.7)
XYZxyz(34.0448, 45.1483, 9.6097)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF2F #4C2FBF
analogous
#BF942F #A2BF2F #5ABF2F
triadic
#A2BF2F #2FA2BF #BF2FA2
tetradic
#A2BF2F #2FBF94 #4C2FBF #BF2F5A
square
#A2BF2F #2FBF94 #4C2FBF #BF2F5A
split-complementary
#A2BF2F #2F5ABF #942FBF
monochromatic
#4F5D17 #788E23 #A2BF2F #BCD556 #CFE187

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2BF2F#FFFFFF#000000##000000
##A2BF2F1.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)
#CBB40B
Deuteranopia (green-blind)
#C8B33C
Tritanopia (blue-blind)
#ABB5A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a2bf2f;
/* rgb */ color: rgb(162, 191, 47);
/* oklch */ color: oklch(75.7% 0.165 120.7);
Tailwind
colors: {
  custom: {
    50: '#c1d273',
    500: '#a2bf2f',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf2f;
$custom-light: #c1d273;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf2f",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 47
  },
  "hsl": {
    "h": 72.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75744,
    "c": 0.16525,
    "h": 120.7
  },
  "luminance": 0.45148
}

Semantic roles & 50–950 ramp

primary
#A2BF2F
secondary
#8E7FCB
accent
#44E464
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A2BF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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