#AFF287#AFF287

#AFF287 is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.2% C 0.154 H 134.7°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#AFF287
RGBrgb(175, 242, 135)
HSLhsl(98, 80%, 74%)
HSVhsv(98, 44%, 95%)
CMYKcmyk(27.7%, 0%, 44.2%, 5.1%)
CIE-LABlab(89.10, -39.38, 44.93)
CIE-LCHlch(89.10, 59.75, 131.23°)
OKLaboklab(89.24% -0.1082 0.1093)
OKLCHoklch(89.24% 0.154 134.7)
XYZxyz(53.8033, 74.3658, 34.4362)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF287 #CA87F2
analogous
#E5F287 #AFF287 #87F295
triadic
#AFF287 #87AFF2 #F287AF
tetradic
#AFF287 #87E5F2 #CA87F2 #F29587
square
#AFF287 #87E5F2 #CA87F2 #F29587
split-complementary
#AFF287 #9587F2 #F287E5
monochromatic
#65E619 #8AEC50 #AFF287 #D4F8BE #EDFCE3

Accessibility & contrast

On white

1.32
#AFF287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#AFF287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF287
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF287#FFFFFF#000000##000000
##AFF2871.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E37F
Deuteranopia (green-blind)
#EFDE8D
Tritanopia (blue-blind)
#AFEBD8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff287;
/* rgb */ color: rgb(175, 242, 135);
/* oklch */ color: oklch(89.2% 0.154 134.7);
Tailwind
colors: {
  custom: {
    50: '#c9f6ab',
    500: '#aff287',
    950: '#000000',
  },
}
SCSS
$custom: #aff287;
$custom-light: #c9f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aff287",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 135
  },
  "hsl": {
    "h": 97.57,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89236,
    "c": 0.1538,
    "h": 134.7
  },
  "luminance": 0.74367
}

Semantic roles & 50–950 ramp

primary
#AFF287
secondary
#9F4FCE
accent
#09DD8E
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF287

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

Preview Lab → · Contrast checker → · Palette generator →

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