#AFE760#AFE760

#AFE760 is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.2% C 0.175 H 128.5°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#AFE760
RGBrgb(175, 231, 96)
HSLhsl(85, 74%, 64%)
HSVhsv(85, 58%, 91%)
CMYKcmyk(24.2%, 0%, 58.4%, 9.4%)
CIE-LABlab(85.56, -38.57, 58.69)
CIE-LCHlch(85.56, 70.23, 123.31°)
OKLaboklab(86.23% -0.1087 0.1366)
OKLCHoklch(86.23% 0.175 128.5)
XYZxyz(48.3662, 67.1093, 21.4693)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE760 #9860E7
analogous
#E7DC60 #AFE760 #6CE760
triadic
#AFE760 #60AFE7 #E760AF
tetradic
#AFE760 #60E7DC #9860E7 #E7606C
square
#AFE760 #60E7DC #9860E7 #E7606C
split-complementary
#AFE760 #606CE7 #DC60E7
monochromatic
#73B21B #94DF2B #AFE760 #CAEF95 #E5F7CA

Accessibility & contrast

On white

1.46
#AFE760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#AFE760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE760
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE760#FFFFFF#000000##000000
##AFE7601.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D851
Deuteranopia (green-blind)
#E9D569
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe760;
/* rgb */ color: rgb(175, 231, 96);
/* oklch */ color: oklch(86.2% 0.175 128.5);
Tailwind
colors: {
  custom: {
    50: '#caef92',
    500: '#afe760',
    950: '#000000',
  },
}
SCSS
$custom: #afe760;
$custom-light: #caef92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe760",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 96
  },
  "hsl": {
    "h": 84.889,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86231,
    "c": 0.17453,
    "h": 128.5
  },
  "luminance": 0.6711
}

Semantic roles & 50–950 ramp

primary
#AFE760
secondary
#6B39B2
accent
#10D662
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE760

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

Preview Lab → · Contrast checker → · Palette generator →

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