#AFE255#AFE255

#AFE255 is a very light, vivid yellow-green. Relative luminance 0.642; OKLCH L 85.0% C 0.177 H 126.8°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#AFE255
RGBrgb(175, 226, 85)
HSLhsl(82, 71%, 61%)
HSVhsv(82, 62%, 89%)
CMYKcmyk(22.6%, 0%, 62.4%, 11.4%)
CIE-LABlab(84.05, -37.23, 61.67)
CIE-LCHlch(84.05, 72.04, 121.11°)
OKLaboklab(84.98% -0.1059 0.1417)
OKLCHoklch(84.98% 0.177 126.8)
XYZxyz(46.5153, 64.1618, 18.5264)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE255 #8855E2
analogous
#E2CE55 #AFE255 #68E255
triadic
#AFE255 #55AFE2 #E255AF
tetradic
#AFE255 #55E2CE #8855E2 #E25568
square
#AFE255 #55E2CE #8855E2 #E25568
split-complementary
#AFE255 #5568E2 #CE55E2
monochromatic
#71A11B #95D524 #AFE255 #C8EB89 #E0F4BE

Accessibility & contrast

On white

1.52
#AFE255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#AFE255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE255
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE255#FFFFFF#000000##000000
##AFE2551.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD444
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#B5D8C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe255;
/* rgb */ color: rgb(175, 226, 85);
/* oklch */ color: oklch(85.0% 0.177 126.8);
Tailwind
colors: {
  custom: {
    50: '#caeb8b',
    500: '#afe255',
    950: '#000000',
  },
}
SCSS
$custom: #afe255;
$custom-light: #caeb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe255",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 85
  },
  "hsl": {
    "h": 81.702,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84978,
    "c": 0.17687,
    "h": 126.8
  },
  "luminance": 0.64163
}

Semantic roles & 50–950 ramp

primary
#AFE255
secondary
#5F37A4
accent
#13D358
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE255

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

Preview Lab → · Contrast checker → · Palette generator →

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