#AFE651#AFE651

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

Color values

HEX#AFE651
RGBrgb(175, 230, 81)
HSLhsl(82, 75%, 61%)
HSVhsv(82, 65%, 90%)
CMYKcmyk(23.9%, 0%, 64.8%, 9.8%)
CIE-LABlab(85.15, -39.31, 64.47)
CIE-LCHlch(85.15, 75.51, 121.38°)
OKLaboklab(85.86% -0.112 0.147)
OKLCHoklch(85.86% 0.185 127.3)
XYZxyz(47.4612, 66.3008, 18.0798)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE651 #8851E6
analogous
#E6D351 #AFE651 #64E651
triadic
#AFE651 #51AFE6 #E651AF
tetradic
#AFE651 #51E6D3 #8851E6 #E65164
square
#AFE651 #51E6D3 #8851E6 #E65164
split-complementary
#AFE651 #5164E6 #D351E6
monochromatic
#71A518 #95DA1F #AFE651 #C8EE87 #E0F5BC

Accessibility & contrast

On white

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

On black

14.26
#AFE651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE651
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE651#FFFFFF#000000##000000
##AFE6511.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73D
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#B5DCC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe651;
/* rgb */ color: rgb(175, 230, 81);
/* oklch */ color: oklch(85.9% 0.185 127.3);
Tailwind
colors: {
  custom: {
    50: '#caee89',
    500: '#afe651',
    950: '#000000',
  },
}
SCSS
$custom: #afe651;
$custom-light: #caee89;
$custom-dark: #000000;
JSON
{
  "hex": "#afe651",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 81
  },
  "hsl": {
    "h": 82.148,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85858,
    "c": 0.18485,
    "h": 127.3
  },
  "luminance": 0.66302
}

Semantic roles & 50–950 ramp

primary
#AFE651
secondary
#5F34A7
accent
#0ED759
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE651

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

Preview Lab → · Contrast checker → · Palette generator →

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