#AFE566#AFE566

#AFE566 is a very light, vivid yellow-green. Relative luminance 0.661; OKLCH L 85.8% C 0.167 H 128.7°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#AFE566
RGBrgb(175, 229, 102)
HSLhsl(86, 71%, 65%)
HSVhsv(86, 55%, 90%)
CMYKcmyk(23.6%, 0%, 55.5%, 10.2%)
CIE-LABlab(85.05, -37.13, 55.47)
CIE-LCHlch(85.05, 66.76, 123.80°)
OKLaboklab(85.84% -0.1042 0.1302)
OKLCHoklch(85.84% 0.167 128.7)
XYZxyz(48.0965, 66.1109, 22.7945)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE566 #9C66E5
analogous
#E5DC66 #AFE566 #6FE566
triadic
#AFE566 #66AFE5 #E566AF
tetradic
#AFE566 #66E5DC #9C66E5 #E5666F
square
#AFE566 #66E5DC #9C66E5 #E5666F
split-complementary
#AFE566 #666FE5 #DC66E5
monochromatic
#73B21E #94DC32 #AFE566 #CAEE9A #E6F7CF

Accessibility & contrast

On white

1.48
#AFE566 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#AFE566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE566
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE566#FFFFFF#000000##000000
##AFE5661.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD759
Deuteranopia (green-blind)
#E7D36E
Tritanopia (blue-blind)
#B4DCC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe566;
/* rgb */ color: rgb(175, 229, 102);
/* oklch */ color: oklch(85.8% 0.167 128.7);
Tailwind
colors: {
  custom: {
    50: '#caed95',
    500: '#afe566',
    950: '#000000',
  },
}
SCSS
$custom: #afe566;
$custom-light: #caed95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe566",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 102
  },
  "hsl": {
    "h": 85.512,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8584,
    "c": 0.1668,
    "h": 128.7
  },
  "luminance": 0.66112
}

Semantic roles & 50–950 ramp

primary
#AFE566
secondary
#6F3CB3
accent
#13D364
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE566

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

Preview Lab → · Contrast checker → · Palette generator →

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