#A2F766#A2F766

#A2F766 is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 89.2% C 0.197 H 134.3°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#A2F766
RGBrgb(162, 247, 102)
HSLhsl(95, 90%, 68%)
HSVhsv(95, 59%, 97%)
CMYKcmyk(34.4%, 0%, 58.7%, 3.1%)
CIE-LABlab(89.47, -49.48, 60.34)
CIE-LCHlch(89.47, 78.03, 129.35°)
OKLaboklab(89.24% -0.1375 0.1408)
OKLCHoklch(89.24% 0.197 134.3)
XYZxyz(50.5583, 75.1601, 24.4113)
Luminance0.7516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F766 #BB66F7
analogous
#EBF766 #A2F766 #66F772
triadic
#A2F766 #66A2F7 #F766A2
tetradic
#A2F766 #66EBF7 #BB66F7 #F77266
square
#A2F766 #66EBF7 #BB66F7 #F77266
split-complementary
#A2F766 #7266F7 #F766EB
monochromatic
#60D70B #7FF42C #A2F766 #C5FAA0 #E9FDDA

Accessibility & contrast

On white

1.31
#A2F766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#A2F766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F766
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F766#FFFFFF#000000##000000
##A2F7661.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE556
Deuteranopia (green-blind)
#F4DE71
Tritanopia (blue-blind)
#A1EED8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #a2f766;
/* rgb */ color: rgb(162, 247, 102);
/* oklch */ color: oklch(89.2% 0.197 134.3);
Tailwind
colors: {
  custom: {
    50: '#c2fa96',
    500: '#a2f766',
    950: '#000000',
  },
}
SCSS
$custom: #a2f766;
$custom-light: #c2fa96;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f766",
  "rgb": {
    "r": 162,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 95.172,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8924,
    "c": 0.19684,
    "h": 134.3
  },
  "luminance": 0.75162
}

Semantic roles & 50–950 ramp

primary
#A2F766
secondary
#8E31D0
accent
#00E687
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170E
muted
#82857F

Preview Lab

Preview with #A2F766

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

Preview Lab → · Contrast checker → · Palette generator →

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