#A2CC2D#A2CC2D

#A2CC2D is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.7% C 0.181 H 124.0°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#A2CC2D
RGBrgb(162, 204, 45)
HSLhsl(76, 64%, 49%)
HSVhsv(76, 78%, 80%)
CMYKcmyk(20.6%, 0%, 77.9%, 20%)
CIE-LABlab(76.71, -34.65, 68.46)
CIE-LCHlch(76.71, 76.73, 116.85°)
OKLaboklab(78.75% -0.1014 0.1504)
OKLCHoklch(78.75% 0.181 124)
XYZxyz(36.9672, 51.0563, 10.3894)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC2D #572DCC
analogous
#CCA72D #A2CC2D #53CC2D
triadic
#A2CC2D #2DA2CC #CC2DA2
tetradic
#A2CC2D #2DCCA7 #572DCC #CC2D53
square
#A2CC2D #2DCCA7 #572DCC #CC2D53
split-complementary
#A2CC2D #2D53CC #A72DCC
monochromatic
#526817 #7A9A22 #A2CC2D #B9DB5B #CFE68D

Accessibility & contrast

On white

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

On black

11.21
#A2CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC2D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC2D#FFFFFF#000000##000000
##A2CC2D1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#AAC2AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a2cc2d;
/* rgb */ color: rgb(162, 204, 45);
/* oklch */ color: oklch(78.7% 0.181 124.0);
Tailwind
colors: {
  custom: {
    50: '#c2db73',
    500: '#a2cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc2d;
$custom-light: #c2db73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc2d",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 75.849,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78749,
    "c": 0.18135,
    "h": 124
  },
  "luminance": 0.51057
}

Semantic roles & 50–950 ramp

primary
#A2CC2D
secondary
#3E2B72
accent
#41E76D
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#131509
muted
#82847D

Preview Lab

Preview with #A2CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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