#AFE776#AFE776

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

Color values

HEX#AFE776
RGBrgb(175, 231, 118)
HSLhsl(90, 70%, 68%)
HSVhsv(90, 49%, 91%)
CMYKcmyk(24.2%, 0%, 48.9%, 9.4%)
CIE-LABlab(85.79, -36.42, 48.98)
CIE-LCHlch(85.79, 61.03, 126.63°)
OKLaboklab(86.5% -0.101 0.1173)
OKLCHoklch(86.5% 0.155 130.7)
XYZxyz(49.5245, 67.5726, 27.5696)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE776 #AE76E7
analogous
#E7E776 #AFE776 #76E776
triadic
#AFE776 #76AFE7 #E776AF
tetradic
#AFE776 #76E7E7 #AE76E7 #E77676
square
#AFE776 #76E7E7 #AE76E7 #E77676
split-complementary
#AFE776 #7676E7 #E776E7
monochromatic
#72C122 #91DE42 #AFE776 #CDF0AA #ECF9DE

Accessibility & contrast

On white

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

On black

14.51
#AFE776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE776
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE776#FFFFFF#000000##000000
##AFE7761.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96C
Deuteranopia (green-blind)
#E8D57D
Tritanopia (blue-blind)
#B2DFCD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe776;
/* rgb */ color: rgb(175, 231, 118);
/* oklch */ color: oklch(86.5% 0.155 130.7);
Tailwind
colors: {
  custom: {
    50: '#c9efa0',
    500: '#afe776',
    950: '#000000',
  },
}
SCSS
$custom: #afe776;
$custom-light: #c9efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe776",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 118
  },
  "hsl": {
    "h": 89.735,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86495,
    "c": 0.15482,
    "h": 130.7
  },
  "luminance": 0.67574
}

Semantic roles & 50–950 ramp

primary
#AFE776
secondary
#8042BF
accent
#13D272
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE776

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

Preview Lab → · Contrast checker → · Palette generator →

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