#A6E252#A6E252

#A6E252 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.4% C 0.183 H 129.0°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#A6E252
RGBrgb(166, 226, 82)
HSLhsl(85, 71%, 60%)
HSVhsv(85, 64%, 89%)
CMYKcmyk(26.5%, 0%, 63.7%, 11.4%)
CIE-LABlab(83.50, -40.79, 62.15)
CIE-LCHlch(83.50, 74.34, 123.27°)
OKLaboklab(84.39% -0.1154 0.1424)
OKLCHoklch(84.39% 0.183 129)
XYZxyz(44.4450, 63.1078, 17.8204)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6E252 #8E52E2
analogous
#E2D652 #A6E252 #5EE252
triadic
#A6E252 #52A6E2 #E252A6
tetradic
#A6E252 #52E2D6 #8E52E2 #E2525E
square
#A6E252 #52E2D6 #8E52E2 #E2525E
split-complementary
#A6E252 #525EE2 #D652E2
monochromatic
#689F1B #8AD323 #A6E252 #C1EB86 #DCF4BB

Accessibility & contrast

On white

1.54
#A6E252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#A6E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6E252
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6E252#FFFFFF#000000##000000
##A6E2521.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD340
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#ABD9C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #a6e252;
/* rgb */ color: rgb(166, 226, 82);
/* oklch */ color: oklch(84.4% 0.183 129.0);
Tailwind
colors: {
  custom: {
    50: '#c4eb89',
    500: '#a6e252',
    950: '#000000',
  },
}
SCSS
$custom: #a6e252;
$custom-light: #c4eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#a6e252",
  "rgb": {
    "r": 166,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 85,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84387,
    "c": 0.18335,
    "h": 129
  },
  "luminance": 0.63109
}

Semantic roles & 50–950 ramp

primary
#A6E252
secondary
#6336A2
accent
#12D363
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A6E252

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

Preview Lab → · Contrast checker → · Palette generator →

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