#AFE778#AFE778

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

Color values

HEX#AFE778
RGBrgb(175, 231, 120)
HSLhsl(90, 70%, 69%)
HSVhsv(90, 48%, 91%)
CMYKcmyk(24.2%, 0%, 48.1%, 9.4%)
CIE-LABlab(85.82, -36.20, 48.06)
CIE-LCHlch(85.82, 60.16, 126.99°)
OKLaboklab(86.52% -0.1003 0.1154)
OKLCHoklch(86.52% 0.153 131)
XYZxyz(49.6446, 67.6207, 28.2022)
Luminance0.6762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE778 #B078E7
analogous
#E7E778 #AFE778 #78E779
triadic
#AFE778 #78AFE7 #E778AF
tetradic
#AFE778 #78E7E7 #B078E7 #E77978
square
#AFE778 #78E7E7 #B078E7 #E77978
split-complementary
#AFE778 #7978E7 #E778E7
monochromatic
#72C223 #90DE44 #AFE778 #CEF0AC #EDF9E0

Accessibility & contrast

On white

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

On black

14.52
#AFE778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE778
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE778#FFFFFF#000000##000000
##AFE7781.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe778;
/* rgb */ color: rgb(175, 231, 120);
/* oklch */ color: oklch(86.5% 0.153 131.0);
Tailwind
colors: {
  custom: {
    50: '#c9efa1',
    500: '#afe778',
    950: '#000000',
  },
}
SCSS
$custom: #afe778;
$custom-light: #c9efa1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe778",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 90.27,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86522,
    "c": 0.15288,
    "h": 131
  },
  "luminance": 0.67622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFE778

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

Preview Lab → · Contrast checker → · Palette generator →

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