#AFE667#AFE667

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

Color values

HEX#AFE667
RGBrgb(175, 230, 103)
HSLhsl(86, 72%, 65%)
HSVhsv(86, 55%, 90%)
CMYKcmyk(23.9%, 0%, 55.2%, 9.8%)
CIE-LABlab(85.35, -37.49, 55.36)
CIE-LCHlch(85.35, 66.86, 124.11°)
OKLaboklab(86.08% -0.1051 0.1301)
OKLCHoklch(86.08% 0.167 128.9)
XYZxyz(48.4239, 66.6859, 23.1498)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE667 #9E67E6
analogous
#E6DD67 #AFE667 #70E667
triadic
#AFE667 #67AFE6 #E667AF
tetradic
#AFE667 #67E6DD #9E67E6 #E66770
square
#AFE667 #67E6DD #9E67E6 #E66770
split-complementary
#AFE667 #6770E6 #DD67E6
monochromatic
#73B51E #93DD32 #AFE667 #CBEF9C #E6F7D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE667#FFFFFF#000000##000000
##AFE6671.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)
#F0D85A
Deuteranopia (green-blind)
#E8D46F
Tritanopia (blue-blind)
#B3DDCA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe667;
/* rgb */ color: rgb(175, 230, 103);
/* oklch */ color: oklch(86.1% 0.167 128.9);
Tailwind
colors: {
  custom: {
    50: '#caee96',
    500: '#afe667',
    950: '#000000',
  },
}
SCSS
$custom: #afe667;
$custom-light: #caee96;
$custom-dark: #000000;
JSON
{
  "hex": "#afe667",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 103
  },
  "hsl": {
    "h": 85.984,
    "s": 71.751,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8608,
    "c": 0.16725,
    "h": 128.9
  },
  "luminance": 0.66687
}

Semantic roles & 50–950 ramp

primary
#AFE667
secondary
#703CB5
accent
#12D466
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE667

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

Preview Lab → · Contrast checker → · Palette generator →

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