#AFE861#AFE861

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

Color values

HEX#AFE861
RGBrgb(175, 232, 97)
HSLhsl(85, 75%, 65%)
HSVhsv(85, 58%, 91%)
CMYKcmyk(24.6%, 0%, 58.2%, 9%)
CIE-LABlab(85.85, -38.93, 58.59)
CIE-LCHlch(85.85, 70.35, 123.60°)
OKLaboklab(86.47% -0.1096 0.1364)
OKLCHoklch(86.47% 0.175 128.8)
XYZxyz(48.6932, 67.6892, 21.8068)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE861 #9A61E8
analogous
#E8DD61 #AFE861 #6CE861
triadic
#AFE861 #61AFE8 #E861AF
tetradic
#AFE861 #61E8DD #9A61E8 #E8616C
square
#AFE861 #61E8DD #9A61E8 #E8616C
split-complementary
#AFE861 #616CE8 #DD61E8
monochromatic
#73B41A #94E02C #AFE861 #CAF096 #E5F8CC

Accessibility & contrast

On white

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

On black

14.54
#AFE861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE861
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE861#FFFFFF#000000##000000
##AFE8611.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D952
Deuteranopia (green-blind)
#EAD56A
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe861;
/* rgb */ color: rgb(175, 232, 97);
/* oklch */ color: oklch(86.5% 0.175 128.8);
Tailwind
colors: {
  custom: {
    50: '#caef92',
    500: '#afe861',
    950: '#000000',
  },
}
SCSS
$custom: #afe861;
$custom-light: #caef92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe861",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 85.333,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8647,
    "c": 0.17501,
    "h": 128.8
  },
  "luminance": 0.6769
}

Semantic roles & 50–950 ramp

primary
#AFE861
secondary
#6D39B5
accent
#0FD763
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE861

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

Preview Lab → · Contrast checker → · Palette generator →

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