#AFE658#AFE658

#AFE658 is a very light, vivid yellow-green. Relative luminance 0.664; OKLCH L 85.9% C 0.180 H 127.7°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#AFE658
RGBrgb(175, 230, 88)
HSLhsl(83, 74%, 62%)
HSVhsv(83, 62%, 90%)
CMYKcmyk(23.9%, 0%, 61.7%, 9.8%)
CIE-LABlab(85.21, -38.79, 61.69)
CIE-LCHlch(85.21, 72.87, 122.16°)
OKLaboklab(85.92% -0.1099 0.1421)
OKLCHoklch(85.92% 0.18 127.7)
XYZxyz(47.7374, 66.4113, 19.5342)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE658 #8F58E6
analogous
#E6D658 #AFE658 #68E658
triadic
#AFE658 #58AFE6 #E658AF
tetradic
#AFE658 #58E6D6 #8F58E6 #E65868
square
#AFE658 #58E6D6 #8F58E6 #E65868
split-complementary
#AFE658 #5868E6 #D658E6
monochromatic
#72AA19 #96DE23 #AFE658 #C9EE8D #E2F6C2

Accessibility & contrast

On white

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

On black

14.28
#AFE658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE658
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE658#FFFFFF#000000##000000
##AFE6581.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe658;
/* rgb */ color: rgb(175, 230, 88);
/* oklch */ color: oklch(85.9% 0.180 127.7);
Tailwind
colors: {
  custom: {
    50: '#caee8d',
    500: '#afe658',
    950: '#000000',
  },
}
SCSS
$custom: #afe658;
$custom-light: #caee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe658",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 88
  },
  "hsl": {
    "h": 83.239,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85922,
    "c": 0.17964,
    "h": 127.7
  },
  "luminance": 0.66412
}

Semantic roles & 50–950 ramp

primary
#AFE658
secondary
#6437AC
accent
#0FD65C
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE658

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

Preview Lab → · Contrast checker → · Palette generator →

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