#AFFD79#AFFD79

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

Color values

HEX#AFFD79
RGBrgb(175, 253, 121)
HSLhsl(95, 97%, 73%)
HSVhsv(95, 52%, 99%)
CMYKcmyk(30.8%, 0%, 52.2%, 0.8%)
CIE-LABlab(92.02, -45.79, 55.08)
CIE-LCHlch(92.02, 71.63, 129.74°)
OKLaboklab(91.55% -0.1267 0.131)
OKLCHoklch(91.55% 0.182 134.1)
XYZxyz(56.2545, 80.7429, 30.7064)
Luminance0.8075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD79 #C779FD
analogous
#F1FD79 #AFFD79 #79FD85
triadic
#AFFD79 #79AFFD #FD79AF
tetradic
#AFFD79 #79F1FD #C779FD #FD8579
square
#AFFD79 #79F1FD #C779FD #FD8579
split-complementary
#AFFD79 #8579FD #FD79F1
monochromatic
#68F804 #8BFC3D #AFFD79 #D3FEB5 #EDFFE1

Accessibility & contrast

On white

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

On black

17.15
#AFFD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD79
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD79#FFFFFF#000000##000000
##AFFD791.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FAE682
Tritanopia (blue-blind)
#AFF5DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd79;
/* rgb */ color: rgb(175, 253, 121);
/* oklch */ color: oklch(91.5% 0.182 134.1);
Tailwind
colors: {
  custom: {
    50: '#cafea3',
    500: '#affd79',
    950: '#000000',
  },
}
SCSS
$custom: #affd79;
$custom-light: #cafea3;
$custom-dark: #000000;
JSON
{
  "hex": "#affd79",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 121
  },
  "hsl": {
    "h": 95.455,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9155,
    "c": 0.18225,
    "h": 134.1
  },
  "luminance": 0.80745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFD79

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

Preview Lab → · Contrast checker → · Palette generator →

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