#AFFD78#AFFD78

#AFFD78 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 91.5% C 0.183 H 134.0°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#AFFD78
RGBrgb(175, 253, 120)
HSLhsl(95, 97%, 73%)
HSVhsv(95, 53%, 99%)
CMYKcmyk(30.8%, 0%, 52.6%, 0.8%)
CIE-LABlab(92.01, -45.90, 55.52)
CIE-LCHlch(92.01, 72.03, 129.58°)
OKLaboklab(91.54% -0.1271 0.1318)
OKLCHoklch(91.54% 0.183 134)
XYZxyz(56.1935, 80.7185, 30.3852)
Luminance0.8072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD78 #C678FD
analogous
#F1FD78 #AFFD78 #78FD83
triadic
#AFFD78 #78AFFD #FD78AF
tetradic
#AFFD78 #78F1FD #C678FD #FD8378
square
#AFFD78 #78F1FD #C678FD #FD8378
split-complementary
#AFFD78 #8378FD #FD78F1
monochromatic
#68F704 #8BFC3C #AFFD78 #D3FEB4 #EDFFE1

Accessibility & contrast

On white

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

On black

17.14
#AFFD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD78
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD78#FFFFFF#000000##000000
##AFFD781.001.2217.1417.14
#FFFFFF1.221.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FAE681
Tritanopia (blue-blind)
#AFF4DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd78;
/* rgb */ color: rgb(175, 253, 120);
/* oklch */ color: oklch(91.5% 0.183 134.0);
Tailwind
colors: {
  custom: {
    50: '#cafea2',
    500: '#affd78',
    950: '#000000',
  },
}
SCSS
$custom: #affd78;
$custom-light: #cafea2;
$custom-dark: #000000;
JSON
{
  "hex": "#affd78",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 120
  },
  "hsl": {
    "h": 95.188,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91537,
    "c": 0.18314,
    "h": 134
  },
  "luminance": 0.80721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFD78

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

Preview Lab → · Contrast checker → · Palette generator →

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