#A2BA40#A2BA40

#A2BA40 is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.7% C 0.148 H 119.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A2BA40
RGBrgb(162, 186, 64)
HSLhsl(72, 49%, 49%)
HSVhsv(72, 66%, 73%)
CMYKcmyk(12.9%, 0%, 65.6%, 27.1%)
CIE-LABlab(71.67, -25.10, 56.83)
CIE-LCHlch(71.67, 62.12, 113.83°)
OKLaboklab(74.72% -0.0735 0.1289)
OKLCHoklch(74.72% 0.148 119.7)
XYZxyz(33.3852, 43.1695, 11.4233)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA40 #5840BA
analogous
#BA9540 #A2BA40 #65BA40
triadic
#A2BA40 #40A2BA #BA40A2
tetradic
#A2BA40 #40BA95 #5840BA #BA4065
square
#A2BA40 #40BA95 #5840BA #BA4065
split-complementary
#A2BA40 #4065BA #9540BA
monochromatic
#535F21 #7A8C30 #A2BA40 #B9CC6B #CFDC99

Accessibility & contrast

On white

2.18
#A2BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A2BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA40
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA40#FFFFFF#000000##000000
##A2BA401.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B02F
Deuteranopia (green-blind)
#C3B049
Tritanopia (blue-blind)
#ABB0A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2ba40;
/* rgb */ color: rgb(162, 186, 64);
/* oklch */ color: oklch(74.7% 0.148 119.7);
Tailwind
colors: {
  custom: {
    50: '#c0ce7b',
    500: '#a2ba40',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba40;
$custom-light: #c0ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba40",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 71.803,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74716,
    "c": 0.14837,
    "h": 119.7
  },
  "luminance": 0.43169
}

Semantic roles & 50–950 ramp

primary
#A2BA40
secondary
#998EC8
accent
#4FD86A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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