#A2F178#A2F178

#A2F178 is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.1% C 0.173 H 135.8°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#A2F178
RGBrgb(162, 241, 120)
HSLhsl(99, 81%, 71%)
HSVhsv(99, 50%, 95%)
CMYKcmyk(32.8%, 0%, 50.2%, 5.5%)
CIE-LABlab(87.94, -45.09, 50.49)
CIE-LCHlch(87.94, 67.69, 131.77°)
OKLaboklab(88.06% -0.1243 0.1209)
OKLCHoklch(88.06% 0.173 135.8)
XYZxyz(49.7445, 71.9460, 29.0316)
Luminance0.7195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F178 #C778F1
analogous
#DEF178 #A2F178 #78F18A
triadic
#A2F178 #78A2F1 #F178A2
tetradic
#A2F178 #78DEF1 #C778F1 #F18A78
square
#A2F178 #78DEF1 #C778F1 #F18A78
split-complementary
#A2F178 #8A78F1 #F178DE
monochromatic
#5AD816 #7CEB41 #A2F178 #C8F7AF #ECFCE3

Accessibility & contrast

On white

1.36
#A2F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#A2F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F178
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F178#FFFFFF#000000##000000
##A2F1781.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E16D
Deuteranopia (green-blind)
#EDDA80
Tritanopia (blue-blind)
#A0E9D5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #a2f178;
/* rgb */ color: rgb(162, 241, 120);
/* oklch */ color: oklch(88.1% 0.173 135.8);
Tailwind
colors: {
  custom: {
    50: '#c1f6a1',
    500: '#a2f178',
    950: '#000000',
  },
}
SCSS
$custom: #a2f178;
$custom-light: #c1f6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f178",
  "rgb": {
    "r": 162,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 99.174,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88059,
    "c": 0.17336,
    "h": 135.8
  },
  "luminance": 0.71948
}

Semantic roles & 50–950 ramp

primary
#A2F178
secondary
#9C42CB
accent
#08DE93
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F178

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

Preview Lab → · Contrast checker → · Palette generator →

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