#AFFF56#AFFF56

#AFFF56 is a very light, highly saturated yellow-green. Relative luminance 0.813; OKLCH L 91.7% C 0.212 H 131.3°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#AFFF56
RGBrgb(175, 255, 86)
HSLhsl(88, 100%, 67%)
HSVhsv(88, 66%, 100%)
CMYKcmyk(31.4%, 0%, 66.3%, 0%)
CIE-LABlab(92.27, -49.71, 70.04)
CIE-LCHlch(92.27, 85.89, 125.37°)
OKLaboklab(91.65% -0.1401 0.1594)
OKLCHoklch(91.65% 0.212 131.3)
XYZxyz(55.1184, 81.3040, 21.5915)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF56 #A656FF
analogous
#FFFA56 #AFFF56 #5BFF56
triadic
#AFFF56 #56AFFF #FF56AF
tetradic
#AFFF56 #56FFFA #A656FF #FF565B
square
#AFFF56 #56FFFA #A656FF #FF565B
split-complementary
#AFFF56 #565BFF #FA56FF
monochromatic
#73DB00 #92FF19 #AFFF56 #CCFF93 #E9FFD0

Accessibility & contrast

On white

1.22
#AFFF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#AFFF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF56
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF56#FFFFFF#000000##000000
##AFFF561.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED3E
Deuteranopia (green-blind)
#FFE764
Tritanopia (blue-blind)
#B2F5DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff56;
/* rgb */ color: rgb(175, 255, 86);
/* oklch */ color: oklch(91.7% 0.212 131.3);
Tailwind
colors: {
  custom: {
    50: '#ccff8e',
    500: '#afff56',
    950: '#000000',
  },
}
SCSS
$custom: #afff56;
$custom-light: #ccff8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afff56",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 86
  },
  "hsl": {
    "h": 88.402,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.91651,
    "c": 0.21223,
    "h": 131.3
  },
  "luminance": 0.81306
}

Semantic roles & 50–950 ramp

primary
#AFFF56
secondary
#7825D4
accent
#00E66D
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFF56

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

Preview Lab → · Contrast checker → · Palette generator →

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