#AFEF76#AFEF76

#AFEF76 is a very light, vivid yellow-green. Relative luminance 0.722; OKLCH L 88.3% C 0.166 H 132.0°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#AFEF76
RGBrgb(175, 239, 118)
HSLhsl(92, 79%, 70%)
HSVhsv(92, 51%, 94%)
CMYKcmyk(26.8%, 0%, 50.6%, 6.3%)
CIE-LABlab(88.04, -40.01, 51.70)
CIE-LCHlch(88.04, 65.37, 127.73°)
OKLaboklab(88.32% -0.111 0.1233)
OKLCHoklch(88.32% 0.166 132)
XYZxyz(51.8149, 72.1535, 28.3331)
Luminance0.7216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF76 #B676EF
analogous
#EBEF76 #AFEF76 #76EF7A
triadic
#AFEF76 #76AFEF #EF76AF
tetradic
#AFEF76 #76EBEF #B676EF #EF7A76
square
#AFEF76 #76EBEF #B676EF #EF7A76
split-complementary
#AFEF76 #7A76EF #EF76EB
monochromatic
#70D219 #8FE93F #AFEF76 #CFF5AD #EFFCE4

Accessibility & contrast

On white

1.36
#AFEF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#AFEF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF76
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF76#FFFFFF#000000##000000
##AFEF761.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06B
Deuteranopia (green-blind)
#EEDB7E
Tritanopia (blue-blind)
#B1E7D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef76;
/* rgb */ color: rgb(175, 239, 118);
/* oklch */ color: oklch(88.3% 0.166 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9f4a0',
    500: '#afef76',
    950: '#000000',
  },
}
SCSS
$custom: #afef76;
$custom-light: #c9f4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afef76",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 91.736,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.88315,
    "c": 0.1659,
    "h": 132
  },
  "luminance": 0.72155
}

Semantic roles & 50–950 ramp

primary
#AFEF76
secondary
#8941C8
accent
#0ADB79
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF76

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

Preview Lab → · Contrast checker → · Palette generator →

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