#AFFA79#AFFA79

#AFFA79 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 90.9% C 0.178 H 133.7°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#AFFA79
RGBrgb(175, 250, 121)
HSLhsl(95, 93%, 73%)
HSVhsv(95, 52%, 98%)
CMYKcmyk(30%, 0%, 51.6%, 2%)
CIE-LABlab(91.17, -44.50, 54.07)
CIE-LCHlch(91.17, 70.03, 129.45°)
OKLaboklab(90.86% -0.1232 0.1287)
OKLCHoklch(90.86% 0.178 133.7)
XYZxyz(55.3149, 78.8637, 30.3932)
Luminance0.7887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA79 #C479FA
analogous
#EFFA79 #AFFA79 #79FA84
triadic
#AFFA79 #79AFFA #FA79AF
tetradic
#AFFA79 #79EFFA #C479FA #FA8479
square
#AFFA79 #79EFFA #C479FA #FA8479
split-complementary
#AFFA79 #8479FA #FA79EF
monochromatic
#6AF009 #8CF83E #AFFA79 #D2FCB4 #EDFEE2

Accessibility & contrast

On white

1.25
#AFFA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#AFFA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA79
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA79#FFFFFF#000000##000000
##AFFA791.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6D
Deuteranopia (green-blind)
#F8E481
Tritanopia (blue-blind)
#AFF2DD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affa79;
/* rgb */ color: rgb(175, 250, 121);
/* oklch */ color: oklch(90.9% 0.178 133.7);
Tailwind
colors: {
  custom: {
    50: '#cafca2',
    500: '#affa79',
    950: '#000000',
  },
}
SCSS
$custom: #affa79;
$custom-light: #cafca2;
$custom-dark: #000000;
JSON
{
  "hex": "#affa79",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 121
  },
  "hsl": {
    "h": 94.884,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90864,
    "c": 0.17818,
    "h": 133.7
  },
  "luminance": 0.78866
}

Semantic roles & 50–950 ramp

primary
#AFFA79
secondary
#9841D7
accent
#00E685
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFA79

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

Preview Lab → · Contrast checker → · Palette generator →

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