#AFF281#AFF281

#AFF281 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.1% C 0.160 H 133.8°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#AFF281
RGBrgb(175, 242, 129)
HSLhsl(96, 81%, 73%)
HSVhsv(96, 47%, 95%)
CMYKcmyk(27.7%, 0%, 46.7%, 5.1%)
CIE-LABlab(89.02, -40.10, 47.71)
CIE-LCHlch(89.02, 62.33, 130.05°)
OKLaboklab(89.15% -0.1106 0.1152)
OKLCHoklch(89.15% 0.16 133.8)
XYZxyz(53.3927, 74.2015, 32.2738)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF281 #C481F2
analogous
#E8F281 #AFF281 #81F28B
triadic
#AFF281 #81AFF2 #F281AF
tetradic
#AFF281 #81E8F2 #C481F2 #F28B81
square
#AFF281 #81E8F2 #C481F2 #F28B81
split-complementary
#AFF281 #8B81F2 #F281E8
monochromatic
#6AE117 #8CEC4A #AFF281 #D2F8B8 #EDFCE3

Accessibility & contrast

On white

1.33
#AFF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#AFF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF281
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF281#FFFFFF#000000##000000
##AFF2811.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE378
Deuteranopia (green-blind)
#F0DE88
Tritanopia (blue-blind)
#AFEAD7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff281;
/* rgb */ color: rgb(175, 242, 129);
/* oklch */ color: oklch(89.1% 0.160 133.8);
Tailwind
colors: {
  custom: {
    50: '#c9f6a7',
    500: '#aff281',
    950: '#000000',
  },
}
SCSS
$custom: #aff281;
$custom-light: #c9f6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#aff281",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 95.575,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89148,
    "c": 0.15966,
    "h": 133.8
  },
  "luminance": 0.74203
}

Semantic roles & 50–950 ramp

primary
#AFF281
secondary
#984ACD
accent
#08DE87
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFF281

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

Preview Lab → · Contrast checker → · Palette generator →

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