#AFEA66#AFEA66

#AFEA66 is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 87.0% C 0.173 H 129.5°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#AFEA66
RGBrgb(175, 234, 102)
HSLhsl(87, 76%, 66%)
HSVhsv(87, 56%, 92%)
CMYKcmyk(25.2%, 0%, 56.4%, 8.2%)
CIE-LABlab(86.46, -39.38, 57.10)
CIE-LCHlch(86.46, 69.36, 124.59°)
OKLaboklab(86.98% -0.1104 0.1337)
OKLCHoklch(86.98% 0.173 129.5)
XYZxyz(49.4999, 68.9178, 23.2623)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA66 #A166EA
analogous
#EAE366 #AFEA66 #6DEA66
triadic
#AFEA66 #66AFEA #EA66AF
tetradic
#AFEA66 #66EAE3 #A166EA #EA666D
square
#AFEA66 #66EAE3 #A166EA #EA666D
split-complementary
#AFEA66 #666DEA #E366EA
monochromatic
#73BC1A #93E330 #AFEA66 #CBF19C #E7F9D2

Accessibility & contrast

On white

1.42
#AFEA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#AFEA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA66
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA66#FFFFFF#000000##000000
##AFEA661.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB58
Deuteranopia (green-blind)
#ECD76F
Tritanopia (blue-blind)
#B3E1CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea66;
/* rgb */ color: rgb(175, 234, 102);
/* oklch */ color: oklch(87.0% 0.173 129.5);
Tailwind
colors: {
  custom: {
    50: '#caf196',
    500: '#afea66',
    950: '#000000',
  },
}
SCSS
$custom: #afea66;
$custom-light: #caf196;
$custom-dark: #000000;
JSON
{
  "hex": "#afea66",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 102
  },
  "hsl": {
    "h": 86.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86981,
    "c": 0.17343,
    "h": 129.5
  },
  "luminance": 0.68919
}

Semantic roles & 50–950 ramp

primary
#AFEA66
secondary
#7339BB
accent
#0DD868
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160E
muted
#83857F

Preview Lab

Preview with #AFEA66

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

Preview Lab → · Contrast checker → · Palette generator →

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