#A2F072#A2F072

#A2F072 is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 87.8% C 0.177 H 134.9°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#A2F072
RGBrgb(162, 240, 114)
HSLhsl(97, 81%, 69%)
HSVhsv(97, 53%, 94%)
CMYKcmyk(32.5%, 0%, 52.5%, 5.9%)
CIE-LABlab(87.59, -45.32, 52.83)
CIE-LCHlch(87.59, 69.61, 130.62°)
OKLaboklab(87.75% -0.1253 0.1256)
OKLCHoklch(87.75% 0.177 134.9)
XYZxyz(49.0965, 71.2145, 27.0753)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2F072 #C072F0
analogous
#E1F072 #A2F072 #72F081
triadic
#A2F072 #72A2F0 #F072A2
tetradic
#A2F072 #72E1F0 #C072F0 #F08172
square
#A2F072 #72E1F0 #C072F0 #F08172
split-complementary
#A2F072 #8172F0 #F072E1
monochromatic
#5ED116 #7EEA3B #A2F072 #C6F6A9 #EBFCE1

Accessibility & contrast

On white

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

On black

15.24
#A2F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2F072
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2F072#FFFFFF#000000##000000
##A2F0721.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#EDD97A
Tritanopia (blue-blind)
#A1E8D4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #a2f072;
/* rgb */ color: rgb(162, 240, 114);
/* oklch */ color: oklch(87.8% 0.177 134.9);
Tailwind
colors: {
  custom: {
    50: '#c1f59d',
    500: '#a2f072',
    950: '#000000',
  },
}
SCSS
$custom: #a2f072;
$custom-light: #c1f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2f072",
  "rgb": {
    "r": 162,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 97.143,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8775,
    "c": 0.17742,
    "h": 134.9
  },
  "luminance": 0.71216
}

Semantic roles & 50–950 ramp

primary
#A2F072
secondary
#943DC9
accent
#08DD8C
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A2F072

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

Preview Lab → · Contrast checker → · Palette generator →

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