#A2BA31#A2BA31

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

Color values

HEX#A2BA31
RGBrgb(162, 186, 49)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 74%, 73%)
CMYKcmyk(12.9%, 0%, 73.7%, 27.1%)
CIE-LABlab(71.57, -25.98, 62.37)
CIE-LCHlch(71.57, 67.57, 112.62°)
OKLaboklab(74.6% -0.0773 0.1382)
OKLCHoklch(74.6% 0.158 119.2)
XYZxyz(33.0142, 43.0212, 9.4698)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA31 #4931BA
analogous
#BA8D31 #A2BA31 #5DBA31
triadic
#A2BA31 #31A2BA #BA31A2
tetradic
#A2BA31 #31BA8D #4931BA #BA315D
square
#A2BA31 #31BA8D #4931BA #BA315D
split-complementary
#A2BA31 #315DBA #8D31BA
monochromatic
#4E5917 #788A24 #A2BA31 #BDD256 #D0DF86

Accessibility & contrast

On white

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

On black

9.60
#A2BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA31
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA31#FFFFFF#000000##000000
##A2BA311.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#ACB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba31;
/* rgb */ color: rgb(162, 186, 49);
/* oklch */ color: oklch(74.6% 0.158 119.2);
Tailwind
colors: {
  custom: {
    50: '#c1ce73',
    500: '#a2ba31',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba31;
$custom-light: #c1ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba31",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 70.511,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74603,
    "c": 0.15833,
    "h": 119.2
  },
  "luminance": 0.43021
}

Semantic roles & 50–950 ramp

primary
#A2BA31
secondary
#8B7EC9
accent
#46E261
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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