#A8CC52#A8CC52

#A8CC52 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.4% C 0.154 H 123.8°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#A8CC52
RGBrgb(168, 204, 82)
HSLhsl(78, 54%, 56%)
HSVhsv(78, 60%, 80%)
CMYKcmyk(17.6%, 0%, 59.8%, 20%)
CIE-LABlab(77.35, -30.00, 55.47)
CIE-LCHlch(77.35, 63.06, 118.40°)
OKLaboklab(79.45% -0.0857 0.1283)
OKLCHoklch(79.45% 0.154 123.8)
XYZxyz(39.2645, 52.1195, 15.9725)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CC52 #7652CC
analogous
#CCB352 #A8CC52 #6BCC52
triadic
#A8CC52 #52A8CC #CC52A8
tetradic
#A8CC52 #52CCB3 #7652CC #CC526B
square
#A8CC52 #52CCB3 #7652CC #CC526B
split-complementary
#A8CC52 #526BCC #B352CC
monochromatic
#647E25 #89AE33 #A8CC52 #C0DA81 #D8E8B1

Accessibility & contrast

On white

1.84
#A8CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#A8CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CC52
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CC52#FFFFFF#000000##000000
##A8CC521.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D2BF5A
Tritanopia (blue-blind)
#AFC3B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a8cc52;
/* rgb */ color: rgb(168, 204, 82);
/* oklch */ color: oklch(79.4% 0.154 123.8);
Tailwind
colors: {
  custom: {
    50: '#c4db87',
    500: '#a8cc52',
    950: '#000000',
  },
}
SCSS
$custom: #a8cc52;
$custom-light: #c4db87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cc52",
  "rgb": {
    "r": 168,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 77.705,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79446,
    "c": 0.15427,
    "h": 123.8
  },
  "luminance": 0.5212
}

Semantic roles & 50–950 ramp

primary
#A8CC52
secondary
#523C86
accent
#4ADE76
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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