#AFE260#AFE260

#AFE260 is a very light, vivid yellow-green. Relative luminance 0.644; OKLCH L 85.1% C 0.168 H 127.6°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#AFE260
RGBrgb(175, 226, 96)
HSLhsl(84, 69%, 63%)
HSVhsv(84, 58%, 89%)
CMYKcmyk(22.6%, 0%, 57.5%, 11.4%)
CIE-LABlab(84.15, -36.32, 57.10)
CIE-LCHlch(84.15, 67.67, 122.46°)
OKLaboklab(85.09% -0.1024 0.1332)
OKLCHoklch(85.09% 0.168 127.6)
XYZxyz(46.9867, 64.3504, 21.0094)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE260 #9360E2
analogous
#E2D460 #AFE260 #6EE260
triadic
#AFE260 #60AFE2 #E260AF
tetradic
#AFE260 #60E2D4 #9360E2 #E2606E
square
#AFE260 #60E2D4 #9360E2 #E2606E
split-complementary
#AFE260 #606EE2 #D460E2
monochromatic
#73A91F #95D92C #AFE260 #C9EB94 #E3F5C8

Accessibility & contrast

On white

1.51
#AFE260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#AFE260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE260
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE260#FFFFFF#000000##000000
##AFE2601.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD452
Deuteranopia (green-blind)
#E5D169
Tritanopia (blue-blind)
#B4D9C6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe260;
/* rgb */ color: rgb(175, 226, 96);
/* oklch */ color: oklch(85.1% 0.168 127.6);
Tailwind
colors: {
  custom: {
    50: '#caeb91',
    500: '#afe260',
    950: '#000000',
  },
}
SCSS
$custom: #afe260;
$custom-light: #caeb91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe260",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 96
  },
  "hsl": {
    "h": 83.538,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85089,
    "c": 0.168,
    "h": 127.6
  },
  "luminance": 0.64351
}

Semantic roles & 50–950 ramp

primary
#AFE260
secondary
#673BAB
accent
#14D15E
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE260

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

Preview Lab → · Contrast checker → · Palette generator →

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