#AFE76D#AFE76D

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

Color values

HEX#AFE76D
RGBrgb(175, 231, 109)
HSLhsl(88, 72%, 67%)
HSVhsv(88, 53%, 91%)
CMYKcmyk(24.2%, 0%, 52.8%, 9.4%)
CIE-LABlab(85.69, -37.36, 53.05)
CIE-LCHlch(85.69, 64.88, 125.16°)
OKLaboklab(86.38% -0.1043 0.1256)
OKLCHoklch(86.38% 0.163 129.7)
XYZxyz(49.0150, 67.3688, 24.8861)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE76D #A56DE7
analogous
#E7E26D #AFE76D #72E76D
triadic
#AFE76D #6DAFE7 #E76DAF
tetradic
#AFE76D #6DE7E2 #A56DE7 #E76D72
square
#AFE76D #6DE7E2 #A56DE7 #E76D72
split-complementary
#AFE76D #6D72E7 #E26DE7
monochromatic
#73BB1F #92DE38 #AFE76D #CCF0A2 #E9F8D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE76D#FFFFFF#000000##000000
##AFE76D1.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)
#F0D961
Deuteranopia (green-blind)
#E8D575
Tritanopia (blue-blind)
#B3DECC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe76d;
/* rgb */ color: rgb(175, 231, 109);
/* oklch */ color: oklch(86.4% 0.163 129.7);
Tailwind
colors: {
  custom: {
    50: '#c9ef9a',
    500: '#afe76d',
    950: '#000000',
  },
}
SCSS
$custom: #afe76d;
$custom-light: #c9ef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe76d",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 109
  },
  "hsl": {
    "h": 87.541,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86379,
    "c": 0.16325,
    "h": 129.7
  },
  "luminance": 0.6737
}

Semantic roles & 50–950 ramp

primary
#AFE76D
secondary
#773EBA
accent
#12D46B
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE76D

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

Preview Lab → · Contrast checker → · Palette generator →

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