#AFE366#AFE366

#AFE366 is a very light, vivid yellow-green. Relative luminance 0.650; OKLCH L 85.4% C 0.164 H 128.3°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#AFE366
RGBrgb(175, 227, 102)
HSLhsl(85, 69%, 65%)
HSVhsv(85, 55%, 89%)
CMYKcmyk(22.9%, 0%, 55.1%, 11%)
CIE-LABlab(84.49, -36.23, 54.82)
CIE-LCHlch(84.49, 65.71, 123.46°)
OKLaboklab(85.38% -0.1017 0.1288)
OKLCHoklch(85.38% 0.164 128.3)
XYZxyz(47.5463, 65.0106, 22.6111)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE366 #9A66E3
analogous
#E3D966 #AFE366 #71E366
triadic
#AFE366 #66AFE3 #E366AF
tetradic
#AFE366 #66E3D9 #9A66E3 #E36671
square
#AFE366 #66E3D9 #9A66E3 #E36671
split-complementary
#AFE366 #6671E3 #D966E3
monochromatic
#73AF20 #94DA32 #AFE366 #CAEC9A #E5F6CD

Accessibility & contrast

On white

1.50
#AFE366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#AFE366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE366
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE366#FFFFFF#000000##000000
##AFE3661.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55A
Deuteranopia (green-blind)
#E6D26E
Tritanopia (blue-blind)
#B4DAC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe366;
/* rgb */ color: rgb(175, 227, 102);
/* oklch */ color: oklch(85.4% 0.164 128.3);
Tailwind
colors: {
  custom: {
    50: '#c9ec95',
    500: '#afe366',
    950: '#000000',
  },
}
SCSS
$custom: #afe366;
$custom-light: #c9ec95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe366",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 102
  },
  "hsl": {
    "h": 84.96,
    "s": 69.061,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85384,
    "c": 0.16413,
    "h": 128.3
  },
  "luminance": 0.65011
}

Semantic roles & 50–950 ramp

primary
#AFE366
secondary
#6D3DB0
accent
#14D163
background
#FEFEFC
surface
#FBFDF5
border
#D4D5CF
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE366

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

Preview Lab → · Contrast checker → · Palette generator →

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