#AFFB79#AFFB79

#AFFB79 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.1% C 0.180 H 133.8°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#AFFB79
RGBrgb(175, 251, 121)
HSLhsl(95, 94%, 73%)
HSVhsv(95, 52%, 98%)
CMYKcmyk(30.3%, 0%, 51.8%, 1.6%)
CIE-LABlab(91.45, -44.93, 54.41)
CIE-LCHlch(91.45, 70.56, 129.55°)
OKLaboklab(91.09% -0.1244 0.1295)
OKLCHoklch(91.09% 0.18 133.8)
XYZxyz(55.6265, 79.4868, 30.4971)
Luminance0.7949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB79 #C579FB
analogous
#F0FB79 #AFFB79 #79FB84
triadic
#AFFB79 #79AFFB #FB79AF
tetradic
#AFFB79 #79F0FB #C579FB #FB8479
square
#AFFB79 #79F0FB #C579FB #FB8479
split-complementary
#AFFB79 #8479FB #FB79F0
monochromatic
#69F207 #8CF93E #AFFB79 #D2FDB4 #EDFEE1

Accessibility & contrast

On white

1.24
#AFFB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#AFFB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB79
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB79#FFFFFF#000000##000000
##AFFB791.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affb79;
/* rgb */ color: rgb(175, 251, 121);
/* oklch */ color: oklch(91.1% 0.180 133.8);
Tailwind
colors: {
  custom: {
    50: '#cafda3',
    500: '#affb79',
    950: '#000000',
  },
}
SCSS
$custom: #affb79;
$custom-light: #cafda3;
$custom-dark: #000000;
JSON
{
  "hex": "#affb79",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 121
  },
  "hsl": {
    "h": 95.077,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91092,
    "c": 0.17954,
    "h": 133.8
  },
  "luminance": 0.79489
}

Semantic roles & 50–950 ramp

primary
#AFFB79
secondary
#9940D8
accent
#00E686
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB79

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

Preview Lab → · Contrast checker → · Palette generator →

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