#A2C831#A2C831

#A2C831 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.8% C 0.175 H 123.2°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#A2C831
RGBrgb(162, 200, 49)
HSLhsl(75, 61%, 49%)
HSVhsv(75, 76%, 78%)
CMYKcmyk(19%, 0%, 75.5%, 21.6%)
CIE-LABlab(75.58, -32.62, 66.18)
CIE-LCHlch(75.58, 73.79, 116.24°)
OKLaboklab(77.84% -0.0955 0.1462)
OKLCHoklch(77.84% 0.175 123.2)
XYZxyz(36.1094, 49.2115, 10.5016)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C831 #5731C8
analogous
#C8A331 #A2C831 #57C831
triadic
#A2C831 #31A2C8 #C831A2
tetradic
#A2C831 #31C8A3 #5731C8 #C83157
square
#A2C831 #31C8A3 #5731C8 #C83157
split-complementary
#A2C831 #3157C8 #A331C8
monochromatic
#526619 #7A9725 #A2C831 #B9D85F #CFE490

Accessibility & contrast

On white

1.94
#A2C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#A2C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C831
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C831#FFFFFF#000000##000000
##A2C8311.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB0A
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#AABEAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a2c831;
/* rgb */ color: rgb(162, 200, 49);
/* oklch */ color: oklch(77.8% 0.175 123.2);
Tailwind
colors: {
  custom: {
    50: '#c1d875',
    500: '#a2c831',
    950: '#000000',
  },
}
SCSS
$custom: #a2c831;
$custom-light: #c1d875;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c831",
  "rgb": {
    "r": 162,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 75.099,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77841,
    "c": 0.17467,
    "h": 123.2
  },
  "luminance": 0.49212
}

Semantic roles & 50–950 ramp

primary
#A2C831
secondary
#9986CE
accent
#44E46C
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C831

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

Preview Lab → · Contrast checker → · Palette generator →

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