#A2C940#A2C940

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

Color values

HEX#A2C940
RGBrgb(162, 201, 64)
HSLhsl(77, 56%, 52%)
HSVhsv(77, 68%, 79%)
CMYKcmyk(19.4%, 0%, 68.2%, 21.2%)
CIE-LABlab(75.96, -32.25, 61.27)
CIE-LCHlch(75.96, 69.24, 117.76°)
OKLaboklab(78.18% -0.0932 0.1382)
OKLCHoklch(78.18% 0.167 124)
XYZxyz(36.7127, 49.8245, 12.5325)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C940 #6740C9
analogous
#C9AB40 #A2C940 #5EC940
triadic
#A2C940 #40A2C9 #C940A2
tetradic
#A2C940 #40C9AB #6740C9 #C9405E
square
#A2C940 #40C9AB #6740C9 #C9405E
split-complementary
#A2C940 #405EC9 #AB40C9
monochromatic
#586F1F #7E9F2D #A2C940 #B9D670 #D0E49F

Accessibility & contrast

On white

1.92
#A2C940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C940#FFFFFF#000000##000000
##A2C9401.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#AABFAE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a2c940;
/* rgb */ color: rgb(162, 201, 64);
/* oklch */ color: oklch(78.2% 0.167 124.0);
Tailwind
colors: {
  custom: {
    50: '#c1d97c',
    500: '#a2c940',
    950: '#000000',
  },
}
SCSS
$custom: #a2c940;
$custom-light: #c1d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c940",
  "rgb": {
    "r": 162,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 77.08,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.16675,
    "h": 124
  },
  "luminance": 0.49825
}

Semantic roles & 50–950 ramp

primary
#A2C940
secondary
#A594D0
accent
#49DF73
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C940

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

Preview Lab → · Contrast checker → · Palette generator →

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