#AFFF78#AFFF78

#AFFF78 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.0% C 0.186 H 134.2°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#AFFF78
RGBrgb(175, 255, 120)
HSLhsl(96, 100%, 74%)
HSVhsv(96, 53%, 100%)
CMYKcmyk(31.4%, 0%, 52.9%, 0%)
CIE-LABlab(92.57, -46.75, 56.19)
CIE-LCHlch(92.57, 73.09, 129.76°)
OKLaboklab(92% -0.1295 0.1333)
OKLCHoklch(92% 0.186 134.2)
XYZxyz(56.8282, 81.9879, 30.5967)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF78 #C878FF
analogous
#F2FF78 #AFFF78 #78FF84
triadic
#AFFF78 #78AFFF #FF78AF
tetradic
#AFFF78 #78F2FF #C878FF #FF8478
square
#AFFF78 #78F2FF #C878FF #FF8478
split-complementary
#AFFF78 #8478FF #FF78F2
monochromatic
#67FD00 #8BFF3B #AFFF78 #D3FFB5 #EDFFE0

Accessibility & contrast

On white

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

On black

17.40
#AFFF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF78
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF78#FFFFFF#000000##000000
##AFFF781.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6B
Deuteranopia (green-blind)
#FCE781
Tritanopia (blue-blind)
#AFF6E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #afff78;
/* rgb */ color: rgb(175, 255, 120);
/* oklch */ color: oklch(92.0% 0.186 134.2);
Tailwind
colors: {
  custom: {
    50: '#caffa2',
    500: '#afff78',
    950: '#000000',
  },
}
SCSS
$custom: #afff78;
$custom-light: #caffa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afff78",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 120
  },
  "hsl": {
    "h": 95.556,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91995,
    "c": 0.18582,
    "h": 134.2
  },
  "luminance": 0.8199
}

Semantic roles & 50–950 ramp

primary
#AFFF78
secondary
#9C3EDD
accent
#00E688
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFF78

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

Preview Lab → · Contrast checker → · Palette generator →

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