#A6EC52#A6EC52

#A6EC52 is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 86.7% C 0.196 H 130.5°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#A6EC52
RGBrgb(166, 236, 82)
HSLhsl(87, 80%, 62%)
HSVhsv(87, 65%, 93%)
CMYKcmyk(29.7%, 0%, 65.3%, 7.5%)
CIE-LABlab(86.36, -45.13, 65.20)
CIE-LCHlch(86.36, 79.30, 124.69°)
OKLaboklab(86.71% -0.1273 0.1489)
OKLCHoklch(86.71% 0.196 130.5)
XYZxyz(47.2439, 68.7057, 18.7534)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6EC52 #9852EC
analogous
#ECE552 #A6EC52 #59EC52
triadic
#A6EC52 #52A6EC #EC52A6
tetradic
#A6EC52 #52ECE5 #9852EC #EC5259
square
#A6EC52 #52ECE5 #9852EC #EC5259
split-complementary
#A6EC52 #5259EC #E552EC
monochromatic
#69B013 #8AE61B #A6EC52 #C2F289 #DFF8C0

Accessibility & contrast

On white

1.42
#A6EC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#A6EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6EC52
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6EC52#FFFFFF#000000##000000
##A6EC521.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3D
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#A9E2CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #a6ec52;
/* rgb */ color: rgb(166, 236, 82);
/* oklch */ color: oklch(86.7% 0.196 130.5);
Tailwind
colors: {
  custom: {
    50: '#c5f28a',
    500: '#a6ec52',
    950: '#000000',
  },
}
SCSS
$custom: #a6ec52;
$custom-light: #c5f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ec52",
  "rgb": {
    "r": 166,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 87.273,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86709,
    "c": 0.19592,
    "h": 130.5
  },
  "luminance": 0.68707
}

Semantic roles & 50–950 ramp

primary
#A6EC52
secondary
#6B32B1
accent
#09DD69
background
#FEFFFC
surface
#FAFEF4
border
#D3D6CE
text
#13170C
muted
#83857F

Preview Lab

Preview with #A6EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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