#A2CC45#A2CC45

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

Color values

HEX#A2CC45
RGBrgb(162, 204, 69)
HSLhsl(79, 57%, 54%)
HSVhsv(79, 66%, 80%)
CMYKcmyk(20.6%, 0%, 66.2%, 20%)
CIE-LABlab(76.86, -33.31, 60.25)
CIE-LCHlch(76.86, 68.84, 118.94°)
OKLaboklab(78.91% -0.0957 0.1368)
OKLCHoklch(78.91% 0.167 125)
XYZxyz(37.5676, 51.2964, 13.5511)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC45 #6F45CC
analogous
#CCB345 #A2CC45 #5ECC45
triadic
#A2CC45 #45A2CC #CC45A2
tetradic
#A2CC45 #45CCB3 #6F45CC #CC455E
square
#A2CC45 #45CCB3 #6F45CC #CC455E
split-complementary
#A2CC45 #455ECC #B345CC
monochromatic
#5C7620 #81A62E #A2CC45 #BAD975 #D2E6A5

Accessibility & contrast

On white

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

On black

11.26
#A2CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC45
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC45#FFFFFF#000000##000000
##A2CC451.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF32
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#A9C2B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a2cc45;
/* rgb */ color: rgb(162, 204, 69);
/* oklch */ color: oklch(78.9% 0.167 125.0);
Tailwind
colors: {
  custom: {
    50: '#c1db7f',
    500: '#a2cc45',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc45;
$custom-light: #c1db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc45",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 78.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78913,
    "c": 0.16697,
    "h": 125
  },
  "luminance": 0.51297
}

Semantic roles & 50–950 ramp

primary
#A2CC45
secondary
#4D367F
accent
#48E077
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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