#A2CC48#A2CC48

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

Color values

HEX#A2CC48
RGBrgb(162, 204, 72)
HSLhsl(79, 56%, 54%)
HSVhsv(79, 65%, 80%)
CMYKcmyk(20.6%, 0%, 64.7%, 20%)
CIE-LABlab(76.88, -33.10, 59.07)
CIE-LCHlch(76.88, 67.71, 119.27°)
OKLaboklab(78.94% -0.0949 0.1347)
OKLCHoklch(78.94% 0.165 125.2)
XYZxyz(37.6630, 51.3346, 14.0540)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC48 #7248CC
analogous
#CCB448 #A2CC48 #60CC48
triadic
#A2CC48 #48A2CC #CC48A2
tetradic
#A2CC48 #48CCB4 #7248CC #CC4860
square
#A2CC48 #48CCB4 #7248CC #CC4860
split-complementary
#A2CC48 #4860CC #B448CC
monochromatic
#5D7821 #81A82F #A2CC48 #BAD978 #D3E7A8

Accessibility & contrast

On white

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

On black

11.27
#A2CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC48
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC48#FFFFFF#000000##000000
##A2CC481.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2cc48;
/* rgb */ color: rgb(162, 204, 72);
/* oklch */ color: oklch(78.9% 0.165 125.2);
Tailwind
colors: {
  custom: {
    50: '#c1db81',
    500: '#a2cc48',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc48;
$custom-light: #c1db81;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc48",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 79.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78939,
    "c": 0.16478,
    "h": 125.2
  },
  "luminance": 0.51335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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