#A2C331#A2C331

#A2C331 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.7% C 0.169 H 121.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#A2C331
RGBrgb(162, 195, 49)
HSLhsl(74, 60%, 48%)
HSVhsv(74, 75%, 76%)
CMYKcmyk(16.9%, 0%, 74.9%, 23.5%)
CIE-LABlab(74.15, -30.28, 64.83)
CIE-LCHlch(74.15, 71.55, 115.04°)
OKLaboklab(76.68% -0.0891 0.1434)
OKLCHoklch(76.68% 0.169 121.9)
XYZxyz(34.9703, 46.9333, 10.1219)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C331 #5231C3
analogous
#C39B31 #A2C331 #59C331
triadic
#A2C331 #31A2C3 #C331A2
tetradic
#A2C331 #31C39B #5231C3 #C33159
square
#A2C331 #31C39B #5231C3 #C33159
split-complementary
#A2C331 #3159C3 #9B31C3
monochromatic
#516118 #799225 #A2C331 #BAD65B #CFE28C

Accessibility & contrast

On white

2.02
#A2C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#A2C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C331
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C331#FFFFFF#000000##000000
##A2C3311.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#ABB9A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c331;
/* rgb */ color: rgb(162, 195, 49);
/* oklch */ color: oklch(76.7% 0.169 121.9);
Tailwind
colors: {
  custom: {
    50: '#c1d574',
    500: '#a2c331',
    950: '#000000',
  },
}
SCSS
$custom: #a2c331;
$custom-light: #c1d574;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c331",
  "rgb": {
    "r": 162,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 73.562,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76681,
    "c": 0.16881,
    "h": 121.9
  },
  "luminance": 0.46933
}

Semantic roles & 50–950 ramp

primary
#A2C331
secondary
#9483CC
accent
#45E369
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C331

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

Preview Lab → · Contrast checker → · Palette generator →

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