#AFFE6B#AFFE6B

#AFFE6B is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 91.6% C 0.195 H 132.8°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#AFFE6B
RGBrgb(175, 254, 107)
HSLhsl(92, 99%, 71%)
HSVhsv(92, 58%, 100%)
CMYKcmyk(31.1%, 0%, 57.9%, 0.4%)
CIE-LABlab(92.16, -47.59, 61.43)
CIE-LCHlch(92.16, 77.71, 127.77°)
OKLaboklab(91.62% -0.1327 0.1435)
OKLCHoklch(91.62% 0.195 132.8)
XYZxyz(55.7740, 81.0571, 26.6140)
Luminance0.8106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE6B #BA6BFE
analogous
#F8FE6B #AFFE6B #6BFE70
triadic
#AFFE6B #6BAFFE #FE6BAF
tetradic
#AFFE6B #6BF8FE #BA6BFE #FE706B
square
#AFFE6B #6BF8FE #BA6BFE #FE706B
split-complementary
#AFFE6B #706BFE #FE6BF8
monochromatic
#6EED02 #8EFE2E #AFFE6B #D0FEA8 #EFFFE1

Accessibility & contrast

On white

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

On black

17.21
#AFFE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE6B
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE6B#FFFFFF#000000##000000
##AFFE6B1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5B
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#B0F5DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affe6b;
/* rgb */ color: rgb(175, 254, 107);
/* oklch */ color: oklch(91.6% 0.195 132.8);
Tailwind
colors: {
  custom: {
    50: '#cbff9a',
    500: '#affe6b',
    950: '#000000',
  },
}
SCSS
$custom: #affe6b;
$custom-light: #cbff9a;
$custom-dark: #000000;
JSON
{
  "hex": "#affe6b",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 107
  },
  "hsl": {
    "h": 92.245,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91617,
    "c": 0.19545,
    "h": 132.8
  },
  "luminance": 0.81059
}

Semantic roles & 50–950 ramp

primary
#AFFE6B
secondary
#8D33DA
accent
#00E67B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #AFFE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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