#A2C642#A2C642

#A2C642 is a light, vivid yellow-green. Relative luminance 0.485; OKLCH L 77.5% C 0.162 H 123.3°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#A2C642
RGBrgb(162, 198, 66)
HSLhsl(76, 54%, 52%)
HSVhsv(76, 67%, 78%)
CMYKcmyk(18.2%, 0%, 66.7%, 22.4%)
CIE-LABlab(75.12, -30.72, 59.62)
CIE-LCHlch(75.12, 67.06, 117.26°)
OKLaboklab(77.5% -0.0888 0.1351)
OKLCHoklch(77.5% 0.162 123.3)
XYZxyz(36.0781, 48.4627, 12.6067)
Luminance0.4846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C642 #6642C6
analogous
#C6A842 #A2C642 #60C642
triadic
#A2C642 #42A2C6 #C642A2
tetradic
#A2C642 #42C6A8 #6642C6 #C64260
square
#A2C642 #42C6A8 #6642C6 #C64260
split-complementary
#A2C642 #4260C6 #A842C6
monochromatic
#586D21 #7E9C2F #A2C642 #B9D471 #D0E2A0

Accessibility & contrast

On white

1.96
#A2C642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#A2C642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C642
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C642#FFFFFF#000000##000000
##A2C6421.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#AABCAB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a2c642;
/* rgb */ color: rgb(162, 198, 66);
/* oklch */ color: oklch(77.5% 0.162 123.3);
Tailwind
colors: {
  custom: {
    50: '#c1d77d',
    500: '#a2c642',
    950: '#000000',
  },
}
SCSS
$custom: #a2c642;
$custom-light: #c1d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c642",
  "rgb": {
    "r": 162,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 76.364,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77498,
    "c": 0.16166,
    "h": 123.3
  },
  "luminance": 0.48463
}

Semantic roles & 50–950 ramp

primary
#A2C642
secondary
#A595CF
accent
#4BDD73
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C642

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

Preview Lab → · Contrast checker → · Palette generator →

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