#AFE66C#AFE66C

#AFE66C is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.1% C 0.163 H 129.4°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#AFE66C
RGBrgb(175, 230, 108)
HSLhsl(87, 71%, 66%)
HSVhsv(87, 53%, 90%)
CMYKcmyk(23.9%, 0%, 53%, 9.8%)
CIE-LABlab(85.40, -37.01, 53.16)
CIE-LCHlch(85.40, 64.77, 124.84°)
OKLaboklab(86.14% -0.1034 0.1258)
OKLCHoklch(86.14% 0.163 129.4)
XYZxyz(48.6824, 66.7893, 24.5112)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE66C #A36CE6
analogous
#E6E06C #AFE66C #72E66C
triadic
#AFE66C #6CAFE6 #E66CAF
tetradic
#AFE66C #6CE6E0 #A36CE6 #E66C72
square
#AFE66C #6CE6E0 #A36CE6 #E66C72
split-complementary
#AFE66C #6C72E6 #E06CE6
monochromatic
#73B81F #93DD38 #AFE66C #CBEFA0 #E8F8D5

Accessibility & contrast

On white

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

On black

14.36
#AFE66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE66C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE66C#FFFFFF#000000##000000
##AFE66C1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D860
Deuteranopia (green-blind)
#E8D474
Tritanopia (blue-blind)
#B3DDCB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe66c;
/* rgb */ color: rgb(175, 230, 108);
/* oklch */ color: oklch(86.1% 0.163 129.4);
Tailwind
colors: {
  custom: {
    50: '#c9ee99',
    500: '#afe66c',
    950: '#000000',
  },
}
SCSS
$custom: #afe66c;
$custom-light: #c9ee99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe66c",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 108
  },
  "hsl": {
    "h": 87.049,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86139,
    "c": 0.1628,
    "h": 129.4
  },
  "luminance": 0.6679
}

Semantic roles & 50–950 ramp

primary
#AFE66C
secondary
#753EB8
accent
#13D369
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE66C

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

Preview Lab → · Contrast checker → · Palette generator →

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