#AFE76C#AFE76C

#AFE76C is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.4% C 0.164 H 129.6°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#AFE76C
RGBrgb(175, 231, 108)
HSLhsl(87, 72%, 66%)
HSVhsv(87, 53%, 91%)
CMYKcmyk(24.2%, 0%, 53.2%, 9.4%)
CIE-LABlab(85.68, -37.46, 53.49)
CIE-LCHlch(85.68, 65.30, 125.00°)
OKLaboklab(86.37% -0.1046 0.1265)
OKLCHoklch(86.37% 0.164 129.6)
XYZxyz(48.9615, 67.3474, 24.6042)
Luminance0.6735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE76C #A46CE7
analogous
#E7E26C #AFE76C #72E76C
triadic
#AFE76C #6CAFE7 #E76CAF
tetradic
#AFE76C #6CE7E2 #A46CE7 #E76C72
square
#AFE76C #6CE7E2 #A46CE7 #E76C72
split-complementary
#AFE76C #6C72E7 #E26CE7
monochromatic
#73BA1E #92DE37 #AFE76C #CCF0A1 #E8F8D5

Accessibility & contrast

On white

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

On black

14.47
#AFE76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE76C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE76C#FFFFFF#000000##000000
##AFE76C1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D960
Deuteranopia (green-blind)
#E9D574
Tritanopia (blue-blind)
#B3DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe76c;
/* rgb */ color: rgb(175, 231, 108);
/* oklch */ color: oklch(86.4% 0.164 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9ef99',
    500: '#afe76c',
    950: '#000000',
  },
}
SCSS
$custom: #afe76c;
$custom-light: #c9ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe76c",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 87.317,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86367,
    "c": 0.16415,
    "h": 129.6
  },
  "luminance": 0.67348
}

Semantic roles & 50–950 ramp

primary
#AFE76C
secondary
#763DBA
accent
#12D46A
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE76C

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

Preview Lab → · Contrast checker → · Palette generator →

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