#A2B552#A2B552

#A2B552 is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.8% C 0.127 H 118.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#A2B552
RGBrgb(162, 181, 82)
HSLhsl(72, 40%, 52%)
HSVhsv(72, 55%, 71%)
CMYKcmyk(10.5%, 0%, 54.7%, 29%)
CIE-LABlab(70.41, -21.23, 47.51)
CIE-LCHlch(70.41, 52.03, 114.08°)
OKLaboklab(73.76% -0.0609 0.1113)
OKLCHoklch(73.76% 0.127 118.7)
XYZxyz(32.9476, 41.3385, 14.2244)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B552 #6552B5
analogous
#B59752 #A2B552 #71B552
triadic
#A2B552 #52A2B5 #B552A2
tetradic
#A2B552 #52B597 #6552B5 #B55271
square
#A2B552 #52B597 #6552B5 #B55271
split-complementary
#A2B552 #5271B5 #9752B5
monochromatic
#58622A #7E8D3C #A2B552 #B9C77D #D0DAA8

Accessibility & contrast

On white

2.27
#A2B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#A2B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B552
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B552#FFFFFF#000000##000000
##A2B5521.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC48
Deuteranopia (green-blind)
#BDAD58
Tritanopia (blue-blind)
#AAAC9F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b552;
/* rgb */ color: rgb(162, 181, 82);
/* oklch */ color: oklch(73.8% 0.127 118.7);
Tailwind
colors: {
  custom: {
    50: '#bfcb86',
    500: '#a2b552',
    950: '#000000',
  },
}
SCSS
$custom: #a2b552;
$custom-light: #bfcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b552",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 71.515,
    "s": 40.081,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73759,
    "c": 0.12685,
    "h": 118.7
  },
  "luminance": 0.41338
}

Semantic roles & 50–950 ramp

primary
#A2B552
secondary
#A49CC7
accent
#58D06F
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B552

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

Preview Lab → · Contrast checker → · Palette generator →

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