#AFE177#AFE177

#AFE177 is a very light, vivid yellow-green. Relative luminance 0.643; OKLCH L 85.1% C 0.145 H 129.8°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#AFE177
RGBrgb(175, 225, 119)
HSLhsl(88, 64%, 67%)
HSVhsv(88, 47%, 88%)
CMYKcmyk(22.2%, 0%, 47.1%, 11.8%)
CIE-LABlab(84.12, -33.56, 46.45)
CIE-LCHlch(84.12, 57.31, 125.85°)
OKLaboklab(85.15% -0.093 0.1118)
OKLCHoklch(85.15% 0.145 129.8)
XYZxyz(47.9336, 64.2954, 27.3340)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE177 #A977E1
analogous
#E1DE77 #AFE177 #7AE177
triadic
#AFE177 #77AFE1 #E177AF
tetradic
#AFE177 #77E1DE #A977E1 #E1777A
square
#AFE177 #77E1DE #A977E1 #E1777A
split-complementary
#AFE177 #777AE1 #DE77E1
monochromatic
#73B628 #92D645 #AFE177 #CCECA9 #EAF7DB

Accessibility & contrast

On white

1.52
#AFE177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#AFE177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE177
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE177#FFFFFF#000000##000000
##AFE1771.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46E
Deuteranopia (green-blind)
#E2D17D
Tritanopia (blue-blind)
#B2D9C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe177;
/* rgb */ color: rgb(175, 225, 119);
/* oklch */ color: oklch(85.1% 0.145 129.8);
Tailwind
colors: {
  custom: {
    50: '#c9eaa0',
    500: '#afe177',
    950: '#000000',
  },
}
SCSS
$custom: #afe177;
$custom-light: #c9eaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe177",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 119
  },
  "hsl": {
    "h": 88.302,
    "s": 63.855,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85148,
    "c": 0.14542,
    "h": 129.8
  },
  "luminance": 0.64296
}

Semantic roles & 50–950 ramp

primary
#AFE177
secondary
#7B46B6
accent
#1ACC6E
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE177

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

Preview Lab → · Contrast checker → · Palette generator →

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