#AFE76A#AFE76A

#AFE76A is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.3% C 0.166 H 129.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#AFE76A
RGBrgb(175, 231, 106)
HSLhsl(87, 72%, 66%)
HSVhsv(87, 54%, 91%)
CMYKcmyk(24.2%, 0%, 54.1%, 9.4%)
CIE-LABlab(85.66, -37.65, 54.38)
CIE-LCHlch(85.66, 66.14, 124.70°)
OKLaboklab(86.34% -0.1053 0.1282)
OKLCHoklch(86.34% 0.166 129.4)
XYZxyz(48.8562, 67.3053, 24.0501)
Luminance0.6731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE76A #A26AE7
analogous
#E7E06A #AFE76A #70E76A
triadic
#AFE76A #6AAFE7 #E76AAF
tetradic
#AFE76A #6AE7E0 #A26AE7 #E76A70
square
#AFE76A #6AE7E0 #A26AE7 #E76A70
split-complementary
#AFE76A #6A70E7 #E06AE7
monochromatic
#73B91E #93DF35 #AFE76A #CBEF9F #E8F8D3

Accessibility & contrast

On white

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

On black

14.46
#AFE76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE76A
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE76A#FFFFFF#000000##000000
##AFE76A1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe76a;
/* rgb */ color: rgb(175, 231, 106);
/* oklch */ color: oklch(86.3% 0.166 129.4);
Tailwind
colors: {
  custom: {
    50: '#c9ef98',
    500: '#afe76a',
    950: '#000000',
  },
}
SCSS
$custom: #afe76a;
$custom-light: #c9ef98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe76a",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 106
  },
  "hsl": {
    "h": 86.88,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86343,
    "c": 0.16594,
    "h": 129.4
  },
  "luminance": 0.67306
}

Semantic roles & 50–950 ramp

primary
#AFE76A
secondary
#743DB9
accent
#11D469
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE76A

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

Preview Lab → · Contrast checker → · Palette generator →

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