#AFF286#AFF286

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

Color values

HEX#AFF286
RGBrgb(175, 242, 134)
HSLhsl(97, 81%, 74%)
HSVhsv(97, 45%, 95%)
CMYKcmyk(27.7%, 0%, 44.6%, 5.1%)
CIE-LABlab(89.08, -39.51, 45.40)
CIE-LCHlch(89.08, 60.18, 131.03°)
OKLaboklab(89.22% -0.1086 0.1103)
OKLCHoklch(89.22% 0.155 134.6)
XYZxyz(53.7332, 74.3377, 34.0672)
Luminance0.7434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF286 #C986F2
analogous
#E5F286 #AFF286 #86F293
triadic
#AFF286 #86AFF2 #F286AF
tetradic
#AFF286 #86E5F2 #C986F2 #F29386
square
#AFF286 #86E5F2 #C986F2 #F29386
split-complementary
#AFF286 #9386F2 #F286E5
monochromatic
#66E519 #8AEC4F #AFF286 #D4F8BD #EDFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF286#FFFFFF#000000##000000
##AFF2861.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)
#F9E37D
Deuteranopia (green-blind)
#F0DE8C
Tritanopia (blue-blind)
#AFEBD8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff286;
/* rgb */ color: rgb(175, 242, 134);
/* oklch */ color: oklch(89.2% 0.155 134.6);
Tailwind
colors: {
  custom: {
    50: '#c9f6ab',
    500: '#aff286',
    950: '#000000',
  },
}
SCSS
$custom: #aff286;
$custom-light: #c9f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aff286",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 97.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89221,
    "c": 0.15478,
    "h": 134.6
  },
  "luminance": 0.74339
}

Semantic roles & 50–950 ramp

primary
#AFF286
secondary
#9D4ECE
accent
#09DD8C
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFF286

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

Preview Lab → · Contrast checker → · Palette generator →

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