#AFE654#AFE654

#AFE654 is a very light, vivid yellow-green. Relative luminance 0.663; OKLCH L 85.9% C 0.183 H 127.5°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#AFE654
RGBrgb(175, 230, 84)
HSLhsl(83, 74%, 62%)
HSVhsv(83, 63%, 90%)
CMYKcmyk(23.9%, 0%, 63.5%, 9.8%)
CIE-LABlab(85.17, -39.09, 63.29)
CIE-LCHlch(85.17, 74.39, 121.70°)
OKLaboklab(85.89% -0.1111 0.145)
OKLCHoklch(85.89% 0.183 127.5)
XYZxyz(47.5762, 66.3468, 18.6854)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE654 #8B54E6
analogous
#E6D454 #AFE654 #66E654
triadic
#AFE654 #54AFE6 #E654AF
tetradic
#AFE654 #54E6D4 #8B54E6 #E65466
square
#AFE654 #54E6D4 #8B54E6 #E65466
split-complementary
#AFE654 #5466E6 #D454E6
monochromatic
#71A718 #96DD20 #AFE654 #C8EE89 #E1F6BF

Accessibility & contrast

On white

1.47
#AFE654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#AFE654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE654
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE654#FFFFFF#000000##000000
##AFE6541.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D741
Deuteranopia (green-blind)
#E9D45F
Tritanopia (blue-blind)
#B5DCC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe654;
/* rgb */ color: rgb(175, 230, 84);
/* oklch */ color: oklch(85.9% 0.183 127.5);
Tailwind
colors: {
  custom: {
    50: '#caee8a',
    500: '#afe654',
    950: '#000000',
  },
}
SCSS
$custom: #afe654;
$custom-light: #caee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe654",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 84
  },
  "hsl": {
    "h": 82.603,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85885,
    "c": 0.18266,
    "h": 127.5
  },
  "luminance": 0.66348
}

Semantic roles & 50–950 ramp

primary
#AFE654
secondary
#6135A9
accent
#0FD75A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE654

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

Preview Lab → · Contrast checker → · Palette generator →

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