#AFFC79#AFFC79

#AFFC79 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.3% C 0.181 H 134.0°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#AFFC79
RGBrgb(175, 252, 121)
HSLhsl(95, 96%, 73%)
HSVhsv(95, 52%, 99%)
CMYKcmyk(30.6%, 0%, 52%, 1.2%)
CIE-LABlab(91.74, -45.36, 54.75)
CIE-LCHlch(91.74, 71.10, 129.65°)
OKLaboklab(91.32% -0.1256 0.1302)
OKLCHoklch(91.32% 0.181 134)
XYZxyz(55.9397, 80.1132, 30.6015)
Luminance0.8012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC79 #C679FC
analogous
#F0FC79 #AFFC79 #79FC84
triadic
#AFFC79 #79AFFC #FC79AF
tetradic
#AFFC79 #79F0FC #C679FC #FC8479
square
#AFFC79 #79F0FC #C679FC #FC8479
split-complementary
#AFFC79 #8479FC #FC79F0
monochromatic
#68F505 #8BFB3D #AFFC79 #D3FDB5 #EDFEE1

Accessibility & contrast

On white

1.23
#AFFC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#AFFC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC79
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC79#FFFFFF#000000##000000
##AFFC791.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FAE582
Tritanopia (blue-blind)
#AFF4DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc79;
/* rgb */ color: rgb(175, 252, 121);
/* oklch */ color: oklch(91.3% 0.181 134.0);
Tailwind
colors: {
  custom: {
    50: '#cafea3',
    500: '#affc79',
    950: '#000000',
  },
}
SCSS
$custom: #affc79;
$custom-light: #cafea3;
$custom-dark: #000000;
JSON
{
  "hex": "#affc79",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 121
  },
  "hsl": {
    "h": 95.267,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91321,
    "c": 0.1809,
    "h": 134
  },
  "luminance": 0.80115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFC79

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

Preview Lab → · Contrast checker → · Palette generator →

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