#AFE176#AFE176

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

Color values

HEX#AFE176
RGBrgb(175, 225, 118)
HSLhsl(88, 64%, 67%)
HSVhsv(88, 48%, 88%)
CMYKcmyk(22.2%, 0%, 47.6%, 11.8%)
CIE-LABlab(84.11, -33.67, 46.92)
CIE-LCHlch(84.11, 57.75, 125.67°)
OKLaboklab(85.13% -0.0934 0.1128)
OKLCHoklch(85.13% 0.146 129.6)
XYZxyz(47.8739, 64.2715, 27.0194)
Luminance0.6427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE176 #A876E1
analogous
#E1DD76 #AFE176 #7AE176
triadic
#AFE176 #76AFE1 #E176AF
tetradic
#AFE176 #76E1DD #A876E1 #E1767A
square
#AFE176 #76E1DD #A876E1 #E1767A
split-complementary
#AFE176 #767AE1 #DD76E1
monochromatic
#73B528 #92D644 #AFE176 #CCECA8 #EAF7DA

Accessibility & contrast

On white

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

On black

13.85
#AFE176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE176
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE176#FFFFFF#000000##000000
##AFE1761.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46D
Deuteranopia (green-blind)
#E2D17C
Tritanopia (blue-blind)
#B3D9C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe176;
/* rgb */ color: rgb(175, 225, 118);
/* oklch */ color: oklch(85.1% 0.146 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9ea9f',
    500: '#afe176',
    950: '#000000',
  },
}
SCSS
$custom: #afe176;
$custom-light: #c9ea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe176",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 118
  },
  "hsl": {
    "h": 88.037,
    "s": 64.072,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85134,
    "c": 0.14641,
    "h": 129.6
  },
  "luminance": 0.64272
}

Semantic roles & 50–950 ramp

primary
#AFE176
secondary
#7A45B6
accent
#1ACC6D
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE176

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

Preview Lab → · Contrast checker → · Palette generator →

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