#AFF255#AFF255

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

Color values

HEX#AFF255
RGBrgb(175, 242, 85)
HSLhsl(86, 86%, 64%)
HSVhsv(86, 65%, 95%)
CMYKcmyk(27.7%, 0%, 64.9%, 5.1%)
CIE-LABlab(88.58, -44.28, 66.53)
CIE-LCHlch(88.58, 79.92, 123.64°)
OKLaboklab(88.65% -0.1253 0.1519)
OKLCHoklch(88.65% 0.197 129.5)
XYZxyz(51.0707, 73.2728, 20.0449)
Luminance0.7327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF255 #9855F2
analogous
#F2E655 #AFF255 #61F255
triadic
#AFF255 #55AFF2 #F255AF
tetradic
#AFF255 #55F2E6 #9855F2 #F25561
square
#AFF255 #55F2E6 #9855F2 #F25561
split-complementary
#AFF255 #5561F2 #E655F2
monochromatic
#73BE0F #94EE1C #AFF255 #CAF68E #E5FBC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFF255#FFFFFF#000000##000000
##AFF2551.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)
#FDE140
Deuteranopia (green-blind)
#F4DD62
Tritanopia (blue-blind)
#B4E8D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #aff255;
/* rgb */ color: rgb(175, 242, 85);
/* oklch */ color: oklch(88.6% 0.197 129.5);
Tailwind
colors: {
  custom: {
    50: '#cbf68c',
    500: '#aff255',
    950: '#000000',
  },
}
SCSS
$custom: #aff255;
$custom-light: #cbf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#aff255",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 85
  },
  "hsl": {
    "h": 85.605,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88649,
    "c": 0.19692,
    "h": 129.5
  },
  "luminance": 0.73274
}

Semantic roles & 50–950 ramp

primary
#AFF255
secondary
#6B2FBC
accent
#03E262
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFF255

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

Preview Lab → · Contrast checker → · Palette generator →

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