#A2C631#A2C631

#A2C631 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.4% C 0.172 H 122.7°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#A2C631
RGBrgb(162, 198, 49)
HSLhsl(74, 60%, 48%)
HSVhsv(74, 75%, 78%)
CMYKcmyk(18.2%, 0%, 75.3%, 22.4%)
CIE-LABlab(75.01, -31.69, 65.64)
CIE-LCHlch(75.01, 72.89, 115.77°)
OKLaboklab(77.38% -0.093 0.1451)
OKLCHoklch(77.38% 0.172 122.7)
XYZxyz(35.6492, 48.2912, 10.3482)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C631 #5531C6
analogous
#C69F31 #A2C631 #57C631
triadic
#A2C631 #31A2C6 #C631A2
tetradic
#A2C631 #31C69F #5531C6 #C63157
square
#A2C631 #31C69F #5531C6 #C63157
split-complementary
#A2C631 #3157C6 #9F31C6
monochromatic
#526419 #7A9525 #A2C631 #BAD75D #CFE38E

Accessibility & contrast

On white

1.97
#A2C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#A2C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C631
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C631#FFFFFF#000000##000000
##A2C6311.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#CDB93F
Tritanopia (blue-blind)
#ABBCAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a2c631;
/* rgb */ color: rgb(162, 198, 49);
/* oklch */ color: oklch(77.4% 0.172 122.7);
Tailwind
colors: {
  custom: {
    50: '#c1d774',
    500: '#a2c631',
    950: '#000000',
  },
}
SCSS
$custom: #a2c631;
$custom-light: #c1d774;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c631",
  "rgb": {
    "r": 162,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 74.497,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77377,
    "c": 0.17231,
    "h": 122.7
  },
  "luminance": 0.48291
}

Semantic roles & 50–950 ramp

primary
#A2C631
secondary
#9785CE
accent
#44E36B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C631

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

Preview Lab → · Contrast checker → · Palette generator →

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