#A2BB51#A2BB51

#A2BB51 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.1% C 0.136 H 120.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#A2BB51
RGBrgb(162, 187, 81)
HSLhsl(74, 44%, 53%)
HSVhsv(74, 57%, 73%)
CMYKcmyk(13.4%, 0%, 56.7%, 26.7%)
CIE-LABlab(72.11, -24.29, 49.91)
CIE-LCHlch(72.11, 55.51, 115.95°)
OKLaboklab(75.11% -0.0695 0.1164)
OKLCHoklch(75.11% 0.136 120.9)
XYZxyz(34.1562, 43.8162, 14.4410)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BB51 #6A51BB
analogous
#BB9F51 #A2BB51 #6DBB51
triadic
#A2BB51 #51A2BB #BB51A2
tetradic
#A2BB51 #51BB9F #6A51BB #BB516D
square
#A2BB51 #51BB9F #6A51BB #BB516D
split-complementary
#A2BB51 #516DBB #9F51BB
monochromatic
#5A6929 #7F953A #A2BB51 #BACC7D #D1DDA9

Accessibility & contrast

On white

2.15
#A2BB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#A2BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BB51
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BB51#FFFFFF#000000##000000
##A2BB511.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B146
Deuteranopia (green-blind)
#C2B158
Tritanopia (blue-blind)
#AAB2A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a2bb51;
/* rgb */ color: rgb(162, 187, 81);
/* oklch */ color: oklch(75.1% 0.136 120.9);
Tailwind
colors: {
  custom: {
    50: '#c0cf85',
    500: '#a2bb51',
    950: '#000000',
  },
}
SCSS
$custom: #a2bb51;
$custom-light: #c0cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#a2bb51",
  "rgb": {
    "r": 162,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 74.151,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75115,
    "c": 0.13556,
    "h": 120.9
  },
  "luminance": 0.43816
}

Semantic roles & 50–950 ramp

primary
#A2BB51
secondary
#A89DCB
accent
#54D472
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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