#AFE662#AFE662

#AFE662 is a very light, vivid yellow-green. Relative luminance 0.666; OKLCH L 86.0% C 0.172 H 128.5°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#AFE662
RGBrgb(175, 230, 98)
HSLhsl(85, 73%, 64%)
HSVhsv(85, 57%, 90%)
CMYKcmyk(23.9%, 0%, 57.4%, 9.8%)
CIE-LABlab(85.30, -37.95, 57.52)
CIE-LCHlch(85.30, 68.91, 123.41°)
OKLaboklab(86.02% -0.1068 0.1343)
OKLCHoklch(86.02% 0.172 128.5)
XYZxyz(48.1804, 66.5885, 21.8674)
Luminance0.6659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE662 #9962E6
analogous
#E6DB62 #AFE662 #6DE662
triadic
#AFE662 #62AFE6 #E662AF
tetradic
#AFE662 #62E6DB #9962E6 #E6626D
square
#AFE662 #62E6DB #9962E6 #E6626D
split-complementary
#AFE662 #626DE6 #DB62E6
monochromatic
#73B11C #94DE2D #AFE662 #CAEE97 #E5F7CC

Accessibility & contrast

On white

1.47
#AFE662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#AFE662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE662
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE662#FFFFFF#000000##000000
##AFE6621.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D854
Deuteranopia (green-blind)
#E8D46B
Tritanopia (blue-blind)
#B4DDC9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe662;
/* rgb */ color: rgb(175, 230, 98);
/* oklch */ color: oklch(86.0% 0.172 128.5);
Tailwind
colors: {
  custom: {
    50: '#caee93',
    500: '#afe662',
    950: '#000000',
  },
}
SCSS
$custom: #afe662;
$custom-light: #caee93;
$custom-dark: #000000;
JSON
{
  "hex": "#afe662",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 98
  },
  "hsl": {
    "h": 85,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86024,
    "c": 0.17156,
    "h": 128.5
  },
  "luminance": 0.66589
}

Semantic roles & 50–950 ramp

primary
#AFE662
secondary
#6C3AB2
accent
#11D562
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE662

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

Preview Lab → · Contrast checker → · Palette generator →

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