#A2CC42#A2CC42

#A2CC42 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 78.9% C 0.169 H 124.8°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#A2CC42
RGBrgb(162, 204, 66)
HSLhsl(78, 58%, 53%)
HSVhsv(78, 68%, 80%)
CMYKcmyk(20.6%, 0%, 67.6%, 20%)
CIE-LABlab(76.84, -33.51, 61.40)
CIE-LCHlch(76.84, 69.95, 118.63°)
OKLaboklab(78.89% -0.0965 0.1388)
OKLCHoklch(78.89% 0.169 124.8)
XYZxyz(37.4768, 51.2601, 13.0730)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC42 #6C42CC
analogous
#CCB142 #A2CC42 #5DCC42
triadic
#A2CC42 #42A2CC #CC42A2
tetradic
#A2CC42 #42CCB1 #6C42CC #CC425D
square
#A2CC42 #42CCB1 #6C42CC #CC425D
split-complementary
#A2CC42 #425DCC #B142CC
monochromatic
#5A741F #80A42C #A2CC42 #BAD972 #D1E6A2

Accessibility & contrast

On white

1.87
#A2CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#A2CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC42
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC42#FFFFFF#000000##000000
##A2CC421.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#A9C2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a2cc42;
/* rgb */ color: rgb(162, 204, 66);
/* oklch */ color: oklch(78.9% 0.169 124.8);
Tailwind
colors: {
  custom: {
    50: '#c1db7e',
    500: '#a2cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc42;
$custom-light: #c1db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc42",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 78.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78888,
    "c": 0.16908,
    "h": 124.8
  },
  "luminance": 0.5126
}

Semantic roles & 50–950 ramp

primary
#A2CC42
secondary
#4B357D
accent
#47E176
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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