#AAF271#AAF271

#AAF271 is a very light, vivid yellow-green. Relative luminance 0.732; OKLCH L 88.6% C 0.177 H 133.1°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#AAF271
RGBrgb(170, 242, 113)
HSLhsl(93, 83%, 70%)
HSVhsv(93, 53%, 95%)
CMYKcmyk(29.8%, 0%, 53.3%, 5.1%)
CIE-LABlab(88.56, -43.58, 54.55)
CIE-LCHlch(88.56, 69.82, 128.62°)
OKLaboklab(88.65% -0.1209 0.1292)
OKLCHoklch(88.65% 0.177 133.1)
XYZxyz(51.3094, 73.2408, 27.0531)
Luminance0.7324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAF271 #B971F2
analogous
#EBF271 #AAF271 #71F278
triadic
#AAF271 #71AAF2 #F271AA
tetradic
#AAF271 #71EBF2 #B971F2 #F27871
square
#AAF271 #71EBF2 #B971F2 #F27871
split-complementary
#AAF271 #7871F2 #F271EB
monochromatic
#69D514 #88ED39 #AAF271 #CCF7A9 #EDFCE1

Accessibility & contrast

On white

1.34
#AAF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#AAF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAF271
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAF271#FFFFFF#000000##000000
##AAF2711.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#F0DC7A
Tritanopia (blue-blind)
#ABEAD5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aaf271;
/* rgb */ color: rgb(170, 242, 113);
/* oklch */ color: oklch(88.6% 0.177 133.1);
Tailwind
colors: {
  custom: {
    50: '#c6f69d',
    500: '#aaf271',
    950: '#000000',
  },
}
SCSS
$custom: #aaf271;
$custom-light: #c6f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaf271",
  "rgb": {
    "r": 170,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 93.488,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88647,
    "c": 0.17699,
    "h": 133.1
  },
  "luminance": 0.73243
}

Semantic roles & 50–950 ramp

primary
#AAF271
secondary
#8C3CCB
accent
#06E07F
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AAF271

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

Preview Lab → · Contrast checker → · Palette generator →

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