#A2BF52#A2BF52

#A2BF52 is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.0% C 0.140 H 122.2°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#A2BF52
RGBrgb(162, 191, 82)
HSLhsl(76, 46%, 54%)
HSVhsv(76, 57%, 75%)
CMYKcmyk(15.2%, 0%, 57.1%, 25.1%)
CIE-LABlab(73.25, -26.15, 50.76)
CIE-LCHlch(73.25, 57.10, 117.25°)
OKLaboklab(76.04% -0.0746 0.1183)
OKLCHoklch(76.04% 0.14 122.2)
XYZxyz(35.0543, 45.5521, 14.9267)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BF52 #6F52BF
analogous
#BFA552 #A2BF52 #6BBF52
triadic
#A2BF52 #52A2BF #BF52A2
tetradic
#A2BF52 #52BFA5 #6F52BF #BF526B
square
#A2BF52 #52BFA5 #6F52BF #BF526B
split-complementary
#A2BF52 #526BBF #A552BF
monochromatic
#5C6E29 #819B39 #A2BF52 #BAD07F #D2E0AB

Accessibility & contrast

On white

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

On black

10.11
#A2BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BF52
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BF52#FFFFFF#000000##000000
##A2BF521.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B547
Deuteranopia (green-blind)
#C6B459
Tritanopia (blue-blind)
#A9B6A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2bf52;
/* rgb */ color: rgb(162, 191, 82);
/* oklch */ color: oklch(76.0% 0.140 122.2);
Tailwind
colors: {
  custom: {
    50: '#c0d286',
    500: '#a2bf52',
    950: '#000000',
  },
}
SCSS
$custom: #a2bf52;
$custom-light: #c0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bf52",
  "rgb": {
    "r": 162,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 75.963,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76042,
    "c": 0.13988,
    "h": 122.2
  },
  "luminance": 0.45552
}

Semantic roles & 50–950 ramp

primary
#A2BF52
secondary
#AB9FCE
accent
#52D675
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12140B
muted
#81827C

Preview Lab

Preview with #A2BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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