#A6CC52#A6CC52

#A6CC52 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.3% C 0.155 H 124.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#A6CC52
RGBrgb(166, 204, 82)
HSLhsl(79, 54%, 56%)
HSVhsv(79, 60%, 80%)
CMYKcmyk(18.6%, 0%, 59.8%, 20%)
CIE-LABlab(77.22, -30.78, 55.29)
CIE-LCHlch(77.22, 63.28, 119.10°)
OKLaboklab(79.31% -0.0878 0.1279)
OKLCHoklch(79.31% 0.155 124.5)
XYZxyz(38.8419, 51.9016, 15.9527)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC52 #7852CC
analogous
#CCB552 #A6CC52 #69CC52
triadic
#A6CC52 #52A6CC #CC52A6
tetradic
#A6CC52 #52CCB5 #7852CC #CC5269
square
#A6CC52 #52CCB5 #7852CC #CC5269
split-complementary
#A6CC52 #5269CC #B552CC
monochromatic
#637E25 #87AE33 #A6CC52 #BEDA81 #D7E8B1

Accessibility & contrast

On white

1.85
#A6CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#A6CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC52
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC52#FFFFFF#000000##000000
##A6CC521.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6cc52;
/* rgb */ color: rgb(166, 204, 82);
/* oklch */ color: oklch(79.3% 0.155 124.5);
Tailwind
colors: {
  custom: {
    50: '#c3db87',
    500: '#a6cc52',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc52;
$custom-light: #c3db87;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc52",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 78.689,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79307,
    "c": 0.15513,
    "h": 124.5
  },
  "luminance": 0.51902
}

Semantic roles & 50–950 ramp

primary
#A6CC52
secondary
#533C86
accent
#4ADE78
background
#FDFEFC
surface
#F9FBF3
border
#D2D4CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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