#A2C942#A2C942

#A2C942 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.2% C 0.165 H 124.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#A2C942
RGBrgb(162, 201, 66)
HSLhsl(77, 56%, 52%)
HSVhsv(77, 67%, 79%)
CMYKcmyk(19.4%, 0%, 67.2%, 21.2%)
CIE-LABlab(75.98, -32.12, 60.51)
CIE-LCHlch(75.98, 68.51, 117.96°)
OKLaboklab(78.19% -0.0927 0.1369)
OKLCHoklch(78.19% 0.165 124.1)
XYZxyz(36.7706, 49.8477, 12.8376)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C942 #6942C9
analogous
#C9AC42 #A2C942 #5FC942
triadic
#A2C942 #42A2C9 #C942A2
tetradic
#A2C942 #42C9AC #6942C9 #C9425F
square
#A2C942 #42C9AC #6942C9 #C9425F
split-complementary
#A2C942 #425FC9 #AC42C9
monochromatic
#597020 #7FA02E #A2C942 #B9D772 #D1E4A1

Accessibility & contrast

On white

1.91
#A2C942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#A2C942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C942
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C942#FFFFFF#000000##000000
##A2C9421.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2E
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#A9BFAE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a2c942;
/* rgb */ color: rgb(162, 201, 66);
/* oklch */ color: oklch(78.2% 0.165 124.1);
Tailwind
colors: {
  custom: {
    50: '#c1d97e',
    500: '#a2c942',
    950: '#000000',
  },
}
SCSS
$custom: #a2c942;
$custom-light: #c1d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c942",
  "rgb": {
    "r": 162,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 77.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.16536,
    "h": 124.1
  },
  "luminance": 0.49848
}

Semantic roles & 50–950 ramp

primary
#A2C942
secondary
#A796D1
accent
#49DF74
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C942

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

Preview Lab → · Contrast checker → · Palette generator →

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