#AFE864#AFE864

#AFE864 is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.5% C 0.172 H 129.0°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#AFE864
RGBrgb(175, 232, 100)
HSLhsl(86, 74%, 65%)
HSVhsv(86, 57%, 91%)
CMYKcmyk(24.6%, 0%, 56.9%, 9%)
CIE-LABlab(85.88, -38.67, 57.31)
CIE-LCHlch(85.88, 69.13, 124.01°)
OKLaboklab(86.5% -0.1086 0.134)
OKLCHoklch(86.5% 0.173 129)
XYZxyz(48.8358, 67.7462, 22.5575)
Luminance0.6775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE864 #9D64E8
analogous
#E8DF64 #AFE864 #6DE864
triadic
#AFE864 #64AFE8 #E864AF
tetradic
#AFE864 #64E8DF #9D64E8 #E8646D
square
#AFE864 #64E8DF #9D64E8 #E8646D
split-complementary
#AFE864 #646DE8 #DF64E8
monochromatic
#73B71B #93E02F #AFE864 #CBF099 #E6F8CF

Accessibility & contrast

On white

1.44
#AFE864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#AFE864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE864
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE864#FFFFFF#000000##000000
##AFE8641.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D956
Deuteranopia (green-blind)
#EAD56D
Tritanopia (blue-blind)
#B3DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe864;
/* rgb */ color: rgb(175, 232, 100);
/* oklch */ color: oklch(86.5% 0.172 129.0);
Tailwind
colors: {
  custom: {
    50: '#caef94',
    500: '#afe864',
    950: '#000000',
  },
}
SCSS
$custom: #afe864;
$custom-light: #caef94;
$custom-dark: #000000;
JSON
{
  "hex": "#afe864",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 100
  },
  "hsl": {
    "h": 85.909,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86502,
    "c": 0.1725,
    "h": 129
  },
  "luminance": 0.67747
}

Semantic roles & 50–950 ramp

primary
#AFE864
secondary
#703AB6
accent
#0FD665
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE864

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

Preview Lab → · Contrast checker → · Palette generator →

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