#AFFF5B#AFFF5B

#AFFF5B is a very light, highly saturated yellow-green. Relative luminance 0.814; OKLCH L 91.7% C 0.209 H 131.6°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#AFFF5B
RGBrgb(175, 255, 91)
HSLhsl(89, 100%, 68%)
HSVhsv(89, 64%, 100%)
CMYKcmyk(31.4%, 0%, 64.3%, 0%)
CIE-LABlab(92.30, -49.35, 68.16)
CIE-LCHlch(92.30, 84.15, 125.90°)
OKLaboklab(91.69% -0.1387 0.1561)
OKLCHoklch(91.69% 0.209 131.6)
XYZxyz(55.3269, 81.3874, 22.6898)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF5B #AB5BFF
analogous
#FFFD5B #AFFF5B #5DFF5B
triadic
#AFFF5B #5BAFFF #FF5BAF
tetradic
#AFFF5B #5BFFFD #AB5BFF #FF5B5D
square
#AFFF5B #5BFFFD #AB5BFF #FF5B5D
split-complementary
#AFFF5B #5B5DFF #FD5BFF
monochromatic
#73E000 #91FF1E #AFFF5B #CDFF98 #EBFFD5

Accessibility & contrast

On white

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

On black

17.28
#AFFF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF5B
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF5B#FFFFFF#000000##000000
##AFFF5B1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afff5b;
/* rgb */ color: rgb(175, 255, 91);
/* oklch */ color: oklch(91.7% 0.209 131.6);
Tailwind
colors: {
  custom: {
    50: '#cbff90',
    500: '#afff5b',
    950: '#000000',
  },
}
SCSS
$custom: #afff5b;
$custom-light: #cbff90;
$custom-dark: #000000;
JSON
{
  "hex": "#afff5b",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 91
  },
  "hsl": {
    "h": 89.268,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91693,
    "c": 0.20881,
    "h": 131.6
  },
  "luminance": 0.81389
}

Semantic roles & 50–950 ramp

primary
#AFFF5B
secondary
#7D26D8
accent
#00E670
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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