#A2CC47#A2CC47

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

Color values

HEX#A2CC47
RGBrgb(162, 204, 71)
HSLhsl(79, 57%, 54%)
HSVhsv(79, 65%, 80%)
CMYKcmyk(20.6%, 0%, 65.2%, 20%)
CIE-LABlab(76.87, -33.17, 59.46)
CIE-LCHlch(76.87, 68.09, 119.16°)
OKLaboklab(78.93% -0.0952 0.1354)
OKLCHoklch(78.93% 0.166 125.1)
XYZxyz(37.6307, 51.3216, 13.8836)
Luminance0.5132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC47 #7147CC
analogous
#CCB447 #A2CC47 #60CC47
triadic
#A2CC47 #47A2CC #CC47A2
tetradic
#A2CC47 #47CCB4 #7147CC #CC4760
square
#A2CC47 #47CCB4 #7147CC #CC4760
split-complementary
#A2CC47 #4760CC #B447CC
monochromatic
#5C7721 #81A72E #A2CC47 #BAD977 #D2E7A7

Accessibility & contrast

On white

1.86
#A2CC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2CC47#FFFFFF#000000##000000
##A2CC471.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF35
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#A9C3B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a2cc47;
/* rgb */ color: rgb(162, 204, 71);
/* oklch */ color: oklch(78.9% 0.166 125.1);
Tailwind
colors: {
  custom: {
    50: '#c1db81',
    500: '#a2cc47',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc47;
$custom-light: #c1db81;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc47",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 78.947,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7893,
    "c": 0.16553,
    "h": 125.1
  },
  "luminance": 0.51322
}

Semantic roles & 50–950 ramp

primary
#A2CC47
secondary
#4E3780
accent
#48E078
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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