#AFE668#AFE668

#AFE668 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.1% C 0.166 H 129.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#AFE668
RGBrgb(175, 230, 104)
HSLhsl(86, 72%, 65%)
HSVhsv(86, 55%, 90%)
CMYKcmyk(23.9%, 0%, 54.8%, 9.8%)
CIE-LABlab(85.36, -37.40, 54.93)
CIE-LCHlch(85.36, 66.45, 124.25°)
OKLaboklab(86.09% -0.1048 0.1292)
OKLCHoklch(86.09% 0.166 129)
XYZxyz(48.4744, 66.7061, 23.4157)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE668 #9F68E6
analogous
#E6DE68 #AFE668 #70E668
triadic
#AFE668 #68AFE6 #E668AF
tetradic
#AFE668 #68E6DE #9F68E6 #E66870
square
#AFE668 #68E6DE #9F68E6 #E66870
split-complementary
#AFE668 #6870E6 #DE68E6
monochromatic
#73B61E #93DD33 #AFE668 #CBEF9D #E7F7D1

Accessibility & contrast

On white

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

On black

14.34
#AFE668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE668
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE668#FFFFFF#000000##000000
##AFE6681.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85C
Deuteranopia (green-blind)
#E8D470
Tritanopia (blue-blind)
#B3DDCA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe668;
/* rgb */ color: rgb(175, 230, 104);
/* oklch */ color: oklch(86.1% 0.166 129.0);
Tailwind
colors: {
  custom: {
    50: '#caee97',
    500: '#afe668',
    950: '#000000',
  },
}
SCSS
$custom: #afe668;
$custom-light: #caee97;
$custom-dark: #000000;
JSON
{
  "hex": "#afe668",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 104
  },
  "hsl": {
    "h": 86.19,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86091,
    "c": 0.16638,
    "h": 129
  },
  "luminance": 0.66707
}

Semantic roles & 50–950 ramp

primary
#AFE668
secondary
#713CB6
accent
#12D466
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE668

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

Preview Lab → · Contrast checker → · Palette generator →

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