#AFEB66#AFEB66

#AFEB66 is a very light, vivid yellow-green. Relative luminance 0.695; OKLCH L 87.2% C 0.175 H 129.7°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#AFEB66
RGBrgb(175, 235, 102)
HSLhsl(87, 77%, 66%)
HSVhsv(87, 57%, 92%)
CMYKcmyk(25.5%, 0%, 56.6%, 7.8%)
CIE-LABlab(86.75, -39.82, 57.42)
CIE-LCHlch(86.75, 69.88, 124.74°)
OKLaboklab(87.21% -0.1116 0.1344)
OKLCHoklch(87.21% 0.175 129.7)
XYZxyz(49.7854, 69.4888, 23.3575)
Luminance0.6949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB66 #A266EB
analogous
#EBE566 #AFEB66 #6CEB66
triadic
#AFEB66 #66AFEB #EB66AF
tetradic
#AFEB66 #66EBE5 #A266EB #EB666C
square
#AFEB66 #66EBE5 #A266EB #EB666C
split-complementary
#AFEB66 #666CEB #E566EB
monochromatic
#73BE19 #93E430 #AFEB66 #CBF29C #E8F9D2

Accessibility & contrast

On white

1.41
#AFEB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#AFEB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB66
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB66#FFFFFF#000000##000000
##AFEB661.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC58
Deuteranopia (green-blind)
#ECD86F
Tritanopia (blue-blind)
#B3E2CE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb66;
/* rgb */ color: rgb(175, 235, 102);
/* oklch */ color: oklch(87.2% 0.175 129.7);
Tailwind
colors: {
  custom: {
    50: '#caf196',
    500: '#afeb66',
    950: '#000000',
  },
}
SCSS
$custom: #afeb66;
$custom-light: #caf196;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb66",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 102
  },
  "hsl": {
    "h": 87.068,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8721,
    "c": 0.17476,
    "h": 129.7
  },
  "luminance": 0.6949
}

Semantic roles & 50–950 ramp

primary
#AFEB66
secondary
#7439BD
accent
#0CD969
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFEB66

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

Preview Lab → · Contrast checker → · Palette generator →

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