#AFE779#AFE779

#AFE779 is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.5% C 0.152 H 131.1°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#AFE779
RGBrgb(175, 231, 121)
HSLhsl(91, 70%, 69%)
HSVhsv(91, 48%, 91%)
CMYKcmyk(24.2%, 0%, 47.6%, 9.4%)
CIE-LABlab(85.83, -36.08, 47.60)
CIE-LCHlch(85.83, 59.73, 127.17°)
OKLaboklab(86.54% -0.0999 0.1145)
OKLCHoklch(86.54% 0.152 131.1)
XYZxyz(49.7056, 67.6451, 28.5235)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE779 #B179E7
analogous
#E6E779 #AFE779 #79E77A
triadic
#AFE779 #79AFE7 #E779AF
tetradic
#AFE779 #79E6E7 #B179E7 #E77A79
square
#AFE779 #79E6E7 #B179E7 #E77A79
split-complementary
#AFE779 #7A79E7 #E779E6
monochromatic
#71C323 #90DE45 #AFE779 #CEF0AD #EDFAE1

Accessibility & contrast

On white

1.45
#AFE779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#AFE779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE779
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE779#FFFFFF#000000##000000
##AFE7791.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD970
Deuteranopia (green-blind)
#E7D580
Tritanopia (blue-blind)
#B2DFCD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe779;
/* rgb */ color: rgb(175, 231, 121);
/* oklch */ color: oklch(86.5% 0.152 131.1);
Tailwind
colors: {
  custom: {
    50: '#c9efa2',
    500: '#afe779',
    950: '#000000',
  },
}
SCSS
$custom: #afe779;
$custom-light: #c9efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe779",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 121
  },
  "hsl": {
    "h": 90.545,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86536,
    "c": 0.15192,
    "h": 131.1
  },
  "luminance": 0.67646
}

Semantic roles & 50–950 ramp

primary
#AFE779
secondary
#8345BF
accent
#14D274
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE779

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

Preview Lab → · Contrast checker → · Palette generator →

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