#AFE66A#AFE66A

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

Color values

HEX#AFE66A
RGBrgb(175, 230, 106)
HSLhsl(87, 71%, 66%)
HSVhsv(87, 54%, 90%)
CMYKcmyk(23.9%, 0%, 53.9%, 9.8%)
CIE-LABlab(85.38, -37.20, 54.05)
CIE-LCHlch(85.38, 65.61, 124.54°)
OKLaboklab(86.12% -0.1041 0.1275)
OKLCHoklch(86.12% 0.165 129.2)
XYZxyz(48.5772, 66.7472, 23.9571)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE66A #A16AE6
analogous
#E6DF6A #AFE66A #71E66A
triadic
#AFE66A #6AAFE6 #E66AAF
tetradic
#AFE66A #6AE6DF #A16AE6 #E66A71
square
#AFE66A #6AE6DF #A16AE6 #E66A71
split-complementary
#AFE66A #6A71E6 #DF6AE6
monochromatic
#73B71F #93DD36 #AFE66A #CBEF9E #E7F8D3

Accessibility & contrast

On white

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

On black

14.35
#AFE66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE66A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE66A#FFFFFF#000000##000000
##AFE66A1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe66a;
/* rgb */ color: rgb(175, 230, 106);
/* oklch */ color: oklch(86.1% 0.165 129.2);
Tailwind
colors: {
  custom: {
    50: '#c9ee98',
    500: '#afe66a',
    950: '#000000',
  },
}
SCSS
$custom: #afe66a;
$custom-light: #c9ee98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe66a",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 106
  },
  "hsl": {
    "h": 86.613,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86115,
    "c": 0.1646,
    "h": 129.2
  },
  "luminance": 0.66748
}

Semantic roles & 50–950 ramp

primary
#AFE66A
secondary
#733DB7
accent
#12D368
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE66A

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

Preview Lab → · Contrast checker → · Palette generator →

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