#A2F078#A2F078

#A2F078 is a very light, vivid yellow-green. Relative luminance 0.714; OKLCH L 87.8% C 0.172 H 135.7°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#A2F078
RGBrgb(162, 240, 120)
HSLhsl(99, 80%, 71%)
HSVhsv(99, 50%, 94%)
CMYKcmyk(32.5%, 0%, 50%, 5.9%)
CIE-LABlab(87.66, -44.66, 50.14)
CIE-LCHlch(87.66, 67.14, 131.69°)
OKLaboklab(87.83% -0.1231 0.1201)
OKLCHoklch(87.83% 0.172 135.7)
XYZxyz(49.4493, 71.3556, 28.9332)
Luminance0.7136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F078 #C678F0
analogous
#DEF078 #A2F078 #78F08A
triadic
#A2F078 #78A2F0 #F078A2
tetradic
#A2F078 #78DEF0 #C678F0 #F08A78
square
#A2F078 #78DEF0 #C678F0 #F08A78
split-complementary
#A2F078 #8A78F0 #F078DE
monochromatic
#5AD618 #7CEA41 #A2F078 #C8F6AF #ECFCE3

Accessibility & contrast

On white

1.38
#A2F078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#A2F078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F078
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F078#FFFFFF#000000##000000
##A2F0781.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06D
Deuteranopia (green-blind)
#ECD980
Tritanopia (blue-blind)
#A0E8D4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #a2f078;
/* rgb */ color: rgb(162, 240, 120);
/* oklch */ color: oklch(87.8% 0.172 135.7);
Tailwind
colors: {
  custom: {
    50: '#c1f5a1',
    500: '#a2f078',
    950: '#000000',
  },
}
SCSS
$custom: #a2f078;
$custom-light: #c1f5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f078",
  "rgb": {
    "r": 162,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 99,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87828,
    "c": 0.17198,
    "h": 135.7
  },
  "luminance": 0.71358
}

Semantic roles & 50–950 ramp

primary
#A2F078
secondary
#9A42CA
accent
#09DC92
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F078

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

Preview Lab → · Contrast checker → · Palette generator →

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