#AFFF7D#AFFF7D

#AFFF7D is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.1% C 0.181 H 134.7°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#AFFF7D
RGBrgb(175, 255, 125)
HSLhsl(97, 100%, 75%)
HSVhsv(97, 51%, 100%)
CMYKcmyk(31.4%, 0%, 51%, 0%)
CIE-LABlab(92.62, -46.22, 53.98)
CIE-LCHlch(92.62, 71.07, 130.57°)
OKLaboklab(92.06% -0.1277 0.1288)
OKLCHoklch(92.06% 0.181 134.7)
XYZxyz(57.1396, 82.1125, 32.2367)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF7D #CD7DFF
analogous
#F0FF7D #AFFF7D #7DFF8C
triadic
#AFFF7D #7DAFFF #FF7DAF
tetradic
#AFFF7D #7DF0FF #CD7DFF #FF8C7D
square
#AFFF7D #7DF0FF #CD7DFF #FF8C7D
split-complementary
#AFFF7D #8C7DFF #FF7DF0
monochromatic
#64FF03 #89FF40 #AFFF7D #D5FFBA #ECFFE0

Accessibility & contrast

On white

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

On black

17.42
#AFFF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF7D
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF7D#FFFFFF#000000##000000
##AFFF7D1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE71
Deuteranopia (green-blind)
#FCE786
Tritanopia (blue-blind)
#AEF7E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #afff7d;
/* rgb */ color: rgb(175, 255, 125);
/* oklch */ color: oklch(92.1% 0.181 134.7);
Tailwind
colors: {
  custom: {
    50: '#caffa5',
    500: '#afff7d',
    950: '#000000',
  },
}
SCSS
$custom: #afff7d;
$custom-light: #caffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afff7d",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 125
  },
  "hsl": {
    "h": 96.923,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92057,
    "c": 0.18137,
    "h": 134.7
  },
  "luminance": 0.82115
}

Semantic roles & 50–950 ramp

primary
#AFFF7D
secondary
#A242DE
accent
#00E68D
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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