#A2BA3B#A2BA3B

#A2BA3B is a light, vivid yellow-green. Relative luminance 0.431; OKLCH L 74.7% C 0.152 H 119.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#A2BA3B
RGBrgb(162, 186, 59)
HSLhsl(71, 52%, 48%)
HSVhsv(71, 68%, 73%)
CMYKcmyk(12.9%, 0%, 68.3%, 27.1%)
CIE-LABlab(71.63, -25.42, 58.78)
CIE-LCHlch(71.63, 64.04, 113.39°)
OKLaboklab(74.68% -0.0748 0.1323)
OKLCHoklch(74.68% 0.152 119.5)
XYZxyz(33.2492, 43.1151, 10.7073)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA3B #533BBA
analogous
#BA933B #A2BA3B #62BA3B
triadic
#A2BA3B #3BA2BA #BA3BA2
tetradic
#A2BA3B #3BBA93 #533BBA #BA3B62
square
#A2BA3B #3BBA93 #533BBA #BA3B62
split-complementary
#A2BA3B #3B62BA #933BBA
monochromatic
#515D1E #7A8C2C #A2BA3B #BACE64 #CFDD93

Accessibility & contrast

On white

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

On black

9.62
#A2BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA3B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA3B#FFFFFF#000000##000000
##A2BA3B1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#ABB0A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba3b;
/* rgb */ color: rgb(162, 186, 59);
/* oklch */ color: oklch(74.7% 0.152 119.5);
Tailwind
colors: {
  custom: {
    50: '#c1ce78',
    500: '#a2ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba3b;
$custom-light: #c1ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba3b",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 71.339,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74675,
    "c": 0.15196,
    "h": 119.5
  },
  "luminance": 0.43115
}

Semantic roles & 50–950 ramp

primary
#A2BA3B
secondary
#9589C8
accent
#4DDB67
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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