#AFFF4E#AFFF4E

#AFFF4E is a very light, highly saturated yellow-green. Relative luminance 0.812; OKLCH L 91.6% C 0.217 H 130.9°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#AFFF4E
RGBrgb(175, 255, 78)
HSLhsl(87, 100%, 65%)
HSVhsv(87, 69%, 100%)
CMYKcmyk(31.4%, 0%, 69.4%, 0%)
CIE-LABlab(92.21, -50.25, 72.91)
CIE-LCHlch(92.21, 88.55, 124.57°)
OKLaboklab(91.59% -0.1422 0.1644)
OKLCHoklch(91.59% 0.217 130.9)
XYZxyz(54.8139, 81.1822, 19.9880)
Luminance0.8118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF4E #9E4EFF
analogous
#FFF74E #AFFF4E #56FF4E
triadic
#AFFF4E #4EAFFF #FF4EAF
tetradic
#AFFF4E #4EFFF7 #9E4EFF #FF4E56
square
#AFFF4E #4EFFF7 #9E4EFF #FF4E56
split-complementary
#AFFF4E #4E56FF #F74EFF
monochromatic
#73D300 #93FF11 #AFFF4E #CBFF8B #E6FFC8

Accessibility & contrast

On white

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

On black

17.24
#AFFF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF4E
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF4E#FFFFFF#000000##000000
##AFFF4E1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED31
Deuteranopia (green-blind)
#FFE75E
Tritanopia (blue-blind)
#B2F4DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff4e;
/* rgb */ color: rgb(175, 255, 78);
/* oklch */ color: oklch(91.6% 0.217 130.9);
Tailwind
colors: {
  custom: {
    50: '#ccff89',
    500: '#afff4e',
    950: '#000000',
  },
}
SCSS
$custom: #afff4e;
$custom-light: #ccff89;
$custom-dark: #000000;
JSON
{
  "hex": "#afff4e",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 78
  },
  "hsl": {
    "h": 87.119,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.9159,
    "c": 0.21733,
    "h": 130.9
  },
  "luminance": 0.81184
}

Semantic roles & 50–950 ramp

primary
#AFFF4E
secondary
#7024CD
accent
#00E668
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180C
muted
#83867F

Preview Lab

Preview with #AFFF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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