#A2BA2B#A2BA2B

#A2BA2B is a light, vivid yellow-green. Relative luminance 0.430; OKLCH L 74.6% C 0.162 H 119.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#A2BA2B
RGBrgb(162, 186, 43)
HSLhsl(70, 62%, 45%)
HSVhsv(70, 77%, 73%)
CMYKcmyk(12.9%, 0%, 76.9%, 27.1%)
CIE-LABlab(71.54, -26.26, 64.30)
CIE-LCHlch(71.54, 69.46, 112.22°)
OKLaboklab(74.57% -0.0785 0.1413)
OKLCHoklch(74.57% 0.162 119.1)
XYZxyz(32.8960, 42.9738, 8.8468)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA2B #432BBA
analogous
#BA8B2B #A2BA2B #5BBA2B
triadic
#A2BA2B #2BA2BA #BA2BA2
tetradic
#A2BA2B #2BBA8B #432BBA #BA2B5B
square
#A2BA2B #2BBA8B #432BBA #BA2B5B
split-complementary
#A2BA2B #2B5BBA #8B2BBA
monochromatic
#4B5714 #778820 #A2BA2B #BFD64C #D1E17E

Accessibility & contrast

On white

2.19
#A2BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#A2BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA2B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA2B#FFFFFF#000000##000000
##A2BA2B1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF01
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#ACB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba2b;
/* rgb */ color: rgb(162, 186, 43);
/* oklch */ color: oklch(74.6% 0.162 119.1);
Tailwind
colors: {
  custom: {
    50: '#c1ce70',
    500: '#a2ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba2b;
$custom-light: #c1ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba2b",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 70.07,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74567,
    "c": 0.16163,
    "h": 119.1
  },
  "luminance": 0.42974
}

Semantic roles & 50–950 ramp

primary
#A2BA2B
secondary
#8577CA
accent
#42E65E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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