#AFE280#AFE280

#AFE280 is a very light, vivid yellow-green. Relative luminance 0.651; OKLCH L 85.5% C 0.138 H 131.2°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#AFE280
RGBrgb(175, 226, 128)
HSLhsl(91, 63%, 69%)
HSVhsv(91, 43%, 89%)
CMYKcmyk(22.6%, 0%, 43.4%, 11.4%)
CIE-LABlab(84.52, -32.97, 42.58)
CIE-LCHlch(84.52, 53.85, 127.75°)
OKLaboklab(85.51% -0.0908 0.1036)
OKLCHoklch(85.51% 0.138 131.2)
XYZxyz(48.7711, 65.0641, 30.4070)
Luminance0.6506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE280 #B380E2
analogous
#E0E280 #AFE280 #80E282
triadic
#AFE280 #80AFE2 #E280AF
tetradic
#AFE280 #80E0E2 #B380E2 #E28280
square
#AFE280 #80E0E2 #B380E2 #E28280
split-complementary
#AFE280 #8280E2 #E280E0
monochromatic
#71BD2B #90D74E #AFE280 #CEEDB2 #EEF9E4

Accessibility & contrast

On white

1.50
#AFE280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#AFE280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE280
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE280#FFFFFF#000000##000000
##AFE2801.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD578
Deuteranopia (green-blind)
#E2D286
Tritanopia (blue-blind)
#B1DBCA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe280;
/* rgb */ color: rgb(175, 226, 128);
/* oklch */ color: oklch(85.5% 0.138 131.2);
Tailwind
colors: {
  custom: {
    50: '#c8eba6',
    500: '#afe280',
    950: '#000000',
  },
}
SCSS
$custom: #afe280;
$custom-light: #c8eba6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe280",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 128
  },
  "hsl": {
    "h": 91.224,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.85506,
    "c": 0.13776,
    "h": 131.2
  },
  "luminance": 0.65065
}

Semantic roles & 50–950 ramp

primary
#AFE280
secondary
#854DBA
accent
#1BCB76
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE280

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

Preview Lab → · Contrast checker → · Palette generator →

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