#AFFE78#AFFE78

#AFFE78 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 91.8% C 0.184 H 134.1°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#AFFE78
RGBrgb(175, 254, 120)
HSLhsl(95, 99%, 73%)
HSVhsv(95, 53%, 100%)
CMYKcmyk(31.1%, 0%, 52.8%, 0.4%)
CIE-LABlab(92.29, -46.32, 55.86)
CIE-LCHlch(92.29, 72.57, 129.67°)
OKLaboklab(91.77% -0.1283 0.1326)
OKLCHoklch(91.77% 0.184 134.1)
XYZxyz(56.5100, 81.3516, 30.4907)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE78 #C778FE
analogous
#F2FE78 #AFFE78 #78FE84
triadic
#AFFE78 #78AFFE #FE78AF
tetradic
#AFFE78 #78F2FE #C778FE #FE8478
square
#AFFE78 #78F2FE #C778FE #FE8478
split-complementary
#AFFE78 #8478FE #FE78F2
monochromatic
#68FA02 #8BFE3B #AFFE78 #D3FEB5 #EDFFE1

Accessibility & contrast

On white

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

On black

17.27
#AFFE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE78
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE78#FFFFFF#000000##000000
##AFFE781.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6B
Deuteranopia (green-blind)
#FBE781
Tritanopia (blue-blind)
#AFF5E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affe78;
/* rgb */ color: rgb(175, 254, 120);
/* oklch */ color: oklch(91.8% 0.184 134.1);
Tailwind
colors: {
  custom: {
    50: '#caffa2',
    500: '#affe78',
    950: '#000000',
  },
}
SCSS
$custom: #affe78;
$custom-light: #caffa2;
$custom-dark: #000000;
JSON
{
  "hex": "#affe78",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 120
  },
  "hsl": {
    "h": 95.373,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91766,
    "c": 0.18447,
    "h": 134.1
  },
  "luminance": 0.81354
}

Semantic roles & 50–950 ramp

primary
#AFFE78
secondary
#9B3FDC
accent
#00E687
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFE78

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

Preview Lab → · Contrast checker → · Palette generator →

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