#A2BA52#A2BA52

#A2BA52 is a light, vivid yellow-green. Relative luminance 0.434; OKLCH L 74.9% C 0.133 H 120.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#A2BA52
RGBrgb(162, 186, 82)
HSLhsl(74, 43%, 53%)
HSVhsv(74, 56%, 73%)
CMYKcmyk(12.9%, 0%, 55.9%, 27.1%)
CIE-LABlab(71.83, -23.71, 49.14)
CIE-LCHlch(71.83, 54.56, 115.76°)
OKLaboklab(74.9% -0.0678 0.1148)
OKLCHoklch(74.9% 0.133 120.6)
XYZxyz(33.9825, 43.4085, 14.5694)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA52 #6A52BA
analogous
#BA9E52 #A2BA52 #6EBA52
triadic
#A2BA52 #52A2BA #BA52A2
tetradic
#A2BA52 #52BA9E #6A52BA #BA526E
square
#A2BA52 #52BA9E #6A52BA #BA526E
split-complementary
#A2BA52 #526EBA #9E52BA
monochromatic
#5A682A #7F943B #A2BA52 #BACB7E #D1DDAA

Accessibility & contrast

On white

2.17
#A2BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#A2BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA52
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA52#FFFFFF#000000##000000
##A2BA521.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#C1B058
Tritanopia (blue-blind)
#AAB1A3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2ba52;
/* rgb */ color: rgb(162, 186, 82);
/* oklch */ color: oklch(74.9% 0.133 120.6);
Tailwind
colors: {
  custom: {
    50: '#c0ce86',
    500: '#a2ba52',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba52;
$custom-light: #c0ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba52",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 73.846,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74898,
    "c": 0.13334,
    "h": 120.6
  },
  "luminance": 0.43408
}

Semantic roles & 50–950 ramp

primary
#A2BA52
secondary
#A89DCA
accent
#55D372
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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