#AFFE7F#AFFE7F

#AFFE7F is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 91.9% C 0.178 H 134.9°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#AFFE7F
RGBrgb(175, 254, 127)
HSLhsl(97, 98%, 75%)
HSVhsv(97, 50%, 100%)
CMYKcmyk(31.1%, 0%, 50%, 0.4%)
CIE-LABlab(92.37, -45.57, 52.75)
CIE-LCHlch(92.37, 69.71, 130.82°)
OKLaboklab(91.86% -0.1258 0.1263)
OKLCHoklch(91.86% 0.178 134.9)
XYZxyz(56.9505, 81.5277, 32.8103)
Luminance0.8153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE7F #CE7FFE
analogous
#EEFE7F #AFFE7F #7FFE8F
triadic
#AFFE7F #7FAFFE #FE7FAF
tetradic
#AFFE7F #7FEEFE #CE7FFE #FE8F7F
square
#AFFE7F #7FEEFE #CE7FFE #FE8F7F
split-complementary
#AFFE7F #8F7FFE #FE7FEE
monochromatic
#63FD06 #89FE42 #AFFE7F #D5FEBC #ECFFE1

Accessibility & contrast

On white

1.21
#AFFE7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#AFFE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE7F
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE7F#FFFFFF#000000##000000
##AFFE7F1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FBE787
Tritanopia (blue-blind)
#AEF6E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe7f;
/* rgb */ color: rgb(175, 254, 127);
/* oklch */ color: oklch(91.9% 0.178 134.9);
Tailwind
colors: {
  custom: {
    50: '#caffa7',
    500: '#affe7f',
    950: '#000000',
  },
}
SCSS
$custom: #affe7f;
$custom-light: #caffa7;
$custom-dark: #000000;
JSON
{
  "hex": "#affe7f",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 127
  },
  "hsl": {
    "h": 97.323,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91855,
    "c": 0.17821,
    "h": 134.9
  },
  "luminance": 0.8153
}

Semantic roles & 50–950 ramp

primary
#AFFE7F
secondary
#A345DD
accent
#00E68F
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141810
muted
#838680

Preview Lab

Preview with #AFFE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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